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 Details

    • create

      @Stability(Stable) public static CfnSlackChannelConfiguration.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSlackChannelConfiguration.Builder.
    • channelId

      @Stability(Stable) public CfnSlackChannelConfiguration.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
    • 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
    • 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 , or high .

      Parameters:
      notifyOnCaseSeverity - The case severity for your support cases that you want to receive notifications. This parameter is required.
      Returns:
      this
    • teamId

      @Stability(Stable) public CfnSlackChannelConfiguration.Builder teamId(String 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
    • channelName

      @Stability(Stable) public CfnSlackChannelConfiguration.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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • build

      @Stability(Stable) public CfnSlackChannelConfiguration build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSlackChannelConfiguration>
      Returns:
      a newly built instance of CfnSlackChannelConfiguration.