Class CfnSlackChannelConfigurationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.supportapp.CfnSlackChannelConfigurationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSlackChannelConfigurationPropsMixin>
- Enclosing class:
CfnSlackChannelConfigurationPropsMixin
@Stability(Stable)
public static final class CfnSlackChannelConfigurationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSlackChannelConfigurationPropsMixin>
A fluent builder for
CfnSlackChannelConfigurationPropsMixin.-
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.channelRoleArn(IRoleRef channelRoleArn) The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.create()create(CfnPropertyMixinOptions options) 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 CfnSlackChannelConfigurationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSlackChannelConfigurationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSlackChannelConfigurationPropsMixin.Builder.
-
channelId
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder channelId(String 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:
-
channelName
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder channelName(String 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:
-
channelRoleArn
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder channelRoleArn(String channelRoleArn) The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.The App uses this role to perform 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:
-
channelRoleArn
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder channelRoleArn(IRoleRef channelRoleArn) The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.The App uses this role to perform 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:
-
notifyOnAddCorrespondenceToCase
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.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 CfnSlackChannelConfigurationPropsMixin.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:
-
notifyOnCaseSeverity
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.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:
-
notifyOnCreateOrReopenCase
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.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 CfnSlackChannelConfigurationPropsMixin.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 CfnSlackChannelConfigurationPropsMixin.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 CfnSlackChannelConfigurationPropsMixin.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:
-
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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSlackChannelConfigurationPropsMixin>- Returns:
- a newly built instance of
CfnSlackChannelConfigurationPropsMixin.
-