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