Class CfnSlackChannelConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.supportapp.CfnSlackChannelConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSlackChannelConfiguration>
- Enclosing class:
CfnSlackChannelConfiguration
@Stability(Stable)
public static final class CfnSlackChannelConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSlackChannelConfiguration>
A fluent builder for
CfnSlackChannelConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The channel ID in Slack.channelName
(String channelName) The channel name in Slack.channelRoleArn
(String channelRoleArn) The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.notifyOnAddCorrespondenceToCase
(Boolean notifyOnAddCorrespondenceToCase) Whether to get notified when a correspondence is added to your support cases.notifyOnAddCorrespondenceToCase
(IResolvable notifyOnAddCorrespondenceToCase) Whether to get notified when a correspondence is added to your support cases.notifyOnCaseSeverity
(String notifyOnCaseSeverity) The case severity for your support cases that you want to receive notifications.notifyOnCreateOrReopenCase
(Boolean notifyOnCreateOrReopenCase) Whether to get notified when your support cases are created or reopened.notifyOnCreateOrReopenCase
(IResolvable notifyOnCreateOrReopenCase) Whether to get notified when your support cases are created or reopened.notifyOnResolveCase
(Boolean notifyOnResolveCase) Whether to get notified when your support cases are resolved.notifyOnResolveCase
(IResolvable notifyOnResolveCase) Whether to get notified when your support cases are resolved.The team ID in Slack.
-
Method Details
-
create
@Stability(Stable) public static CfnSlackChannelConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSlackChannelConfiguration.Builder
.
-
channelId
The channel ID in Slack.This ID identifies a channel within a Slack workspace.
- Parameters:
channelId
- The channel ID in Slack. This parameter is required.- Returns:
this
- See Also:
-
channelRoleArn
@Stability(Stable) public CfnSlackChannelConfiguration.Builder channelRoleArn(String channelRoleArn) The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.The AWS Support App uses this role to perform AWS Support and Service Quotas actions on your behalf.
- Parameters:
channelRoleArn
- The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration. This parameter is required.- Returns:
this
- See Also:
-
notifyOnCaseSeverity
@Stability(Stable) public CfnSlackChannelConfiguration.Builder notifyOnCaseSeverity(String notifyOnCaseSeverity) The case severity for your support cases that you want to receive notifications.You can specify
none
,all
, orhigh
.- Parameters:
notifyOnCaseSeverity
- The case severity for your support cases that you want to receive notifications. This parameter is required.- Returns:
this
- See Also:
-
teamId
The team ID in Slack.This ID uniquely identifies a Slack workspace.
- Parameters:
teamId
- The team ID in Slack. This parameter is required.- Returns:
this
- See Also:
-
channelName
The channel name in Slack.This is the channel where you invite the AWS Support App .
- Parameters:
channelName
- The channel name in Slack. This parameter is required.- Returns:
this
- See Also:
-
notifyOnAddCorrespondenceToCase
@Stability(Stable) public CfnSlackChannelConfiguration.Builder notifyOnAddCorrespondenceToCase(Boolean notifyOnAddCorrespondenceToCase) Whether to get notified when a correspondence is added to your support cases.- Parameters:
notifyOnAddCorrespondenceToCase
- Whether to get notified when a correspondence is added to your support cases. This parameter is required.- Returns:
this
- See Also:
-
notifyOnAddCorrespondenceToCase
@Stability(Stable) public CfnSlackChannelConfiguration.Builder notifyOnAddCorrespondenceToCase(IResolvable notifyOnAddCorrespondenceToCase) Whether to get notified when a correspondence is added to your support cases.- Parameters:
notifyOnAddCorrespondenceToCase
- Whether to get notified when a correspondence is added to your support cases. This parameter is required.- Returns:
this
- See Also:
-
notifyOnCreateOrReopenCase
@Stability(Stable) public CfnSlackChannelConfiguration.Builder notifyOnCreateOrReopenCase(Boolean notifyOnCreateOrReopenCase) Whether to get notified when your support cases are created or reopened.- Parameters:
notifyOnCreateOrReopenCase
- Whether to get notified when your support cases are created or reopened. This parameter is required.- Returns:
this
- See Also:
-
notifyOnCreateOrReopenCase
@Stability(Stable) public CfnSlackChannelConfiguration.Builder notifyOnCreateOrReopenCase(IResolvable notifyOnCreateOrReopenCase) Whether to get notified when your support cases are created or reopened.- Parameters:
notifyOnCreateOrReopenCase
- Whether to get notified when your support cases are created or reopened. This parameter is required.- Returns:
this
- See Also:
-
notifyOnResolveCase
@Stability(Stable) public CfnSlackChannelConfiguration.Builder notifyOnResolveCase(Boolean notifyOnResolveCase) Whether to get notified when your support cases are resolved.- Parameters:
notifyOnResolveCase
- Whether to get notified when your support cases are resolved. This parameter is required.- Returns:
this
- See Also:
-
notifyOnResolveCase
@Stability(Stable) public CfnSlackChannelConfiguration.Builder notifyOnResolveCase(IResolvable notifyOnResolveCase) Whether to get notified when your support cases are resolved.- Parameters:
notifyOnResolveCase
- Whether to get notified when your support cases are resolved. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSlackChannelConfiguration>
- Returns:
- a newly built instance of
CfnSlackChannelConfiguration
.
-