Class CfnSlackChannelConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.supportapp.CfnSlackChannelConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSlackChannelConfigurationMixinProps>
- Enclosing interface:
CfnSlackChannelConfigurationMixinProps
@Stability(Stable)
public static final class CfnSlackChannelConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSlackChannelConfigurationMixinProps>
A builder for
CfnSlackChannelConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSlackChannelConfigurationMixinProps.getChannelId()channelName(String channelName) Sets the value ofCfnSlackChannelConfigurationMixinProps.getChannelName()channelRoleArn(String channelRoleArn) Sets the value ofCfnSlackChannelConfigurationMixinProps.getChannelRoleArn()channelRoleArn(IRoleRef channelRoleArn) Sets the value ofCfnSlackChannelConfigurationMixinProps.getChannelRoleArn()notifyOnAddCorrespondenceToCase(Boolean notifyOnAddCorrespondenceToCase) notifyOnAddCorrespondenceToCase(IResolvable notifyOnAddCorrespondenceToCase) notifyOnCaseSeverity(String notifyOnCaseSeverity) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnCaseSeverity()notifyOnCreateOrReopenCase(Boolean notifyOnCreateOrReopenCase) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnCreateOrReopenCase()notifyOnCreateOrReopenCase(IResolvable notifyOnCreateOrReopenCase) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnCreateOrReopenCase()notifyOnResolveCase(Boolean notifyOnResolveCase) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnResolveCase()notifyOnResolveCase(IResolvable notifyOnResolveCase) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnResolveCase()Sets the value ofCfnSlackChannelConfigurationMixinProps.getTeamId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelId
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder channelId(String channelId) Sets the value ofCfnSlackChannelConfigurationMixinProps.getChannelId()- Parameters:
channelId- The channel ID in Slack. This ID identifies a channel within a Slack workspace.- Returns:
this
-
channelName
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder channelName(String channelName) Sets the value ofCfnSlackChannelConfigurationMixinProps.getChannelName()- Parameters:
channelName- The channel name in Slack. This is the channel where you invite the AWS Support App .- Returns:
this
-
channelRoleArn
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder channelRoleArn(String channelRoleArn) Sets the value ofCfnSlackChannelConfigurationMixinProps.getChannelRoleArn()- Parameters:
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.- Returns:
this
-
channelRoleArn
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder channelRoleArn(IRoleRef channelRoleArn) Sets the value ofCfnSlackChannelConfigurationMixinProps.getChannelRoleArn()- Parameters:
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.- Returns:
this
-
notifyOnAddCorrespondenceToCase
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder notifyOnAddCorrespondenceToCase(Boolean notifyOnAddCorrespondenceToCase) - Parameters:
notifyOnAddCorrespondenceToCase- Whether to get notified when a correspondence is added to your support cases.- Returns:
this
-
notifyOnAddCorrespondenceToCase
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder notifyOnAddCorrespondenceToCase(IResolvable notifyOnAddCorrespondenceToCase) - Parameters:
notifyOnAddCorrespondenceToCase- Whether to get notified when a correspondence is added to your support cases.- Returns:
this
-
notifyOnCaseSeverity
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder notifyOnCaseSeverity(String notifyOnCaseSeverity) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnCaseSeverity()- Parameters:
notifyOnCaseSeverity- The case severity for your support cases that you want to receive notifications. You can specifynone,all, orhigh.- Returns:
this
-
notifyOnCreateOrReopenCase
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder notifyOnCreateOrReopenCase(Boolean notifyOnCreateOrReopenCase) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnCreateOrReopenCase()- Parameters:
notifyOnCreateOrReopenCase- Whether to get notified when your support cases are created or reopened.- Returns:
this
-
notifyOnCreateOrReopenCase
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder notifyOnCreateOrReopenCase(IResolvable notifyOnCreateOrReopenCase) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnCreateOrReopenCase()- Parameters:
notifyOnCreateOrReopenCase- Whether to get notified when your support cases are created or reopened.- Returns:
this
-
notifyOnResolveCase
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder notifyOnResolveCase(Boolean notifyOnResolveCase) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnResolveCase()- Parameters:
notifyOnResolveCase- Whether to get notified when your support cases are resolved.- Returns:
this
-
notifyOnResolveCase
@Stability(Stable) public CfnSlackChannelConfigurationMixinProps.Builder notifyOnResolveCase(IResolvable notifyOnResolveCase) Sets the value ofCfnSlackChannelConfigurationMixinProps.getNotifyOnResolveCase()- Parameters:
notifyOnResolveCase- Whether to get notified when your support cases are resolved.- Returns:
this
-
teamId
Sets the value ofCfnSlackChannelConfigurationMixinProps.getTeamId()- Parameters:
teamId- The team ID in Slack. This ID uniquely identifies a Slack workspace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSlackChannelConfigurationMixinProps>- Returns:
- a new instance of
CfnSlackChannelConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-