Interface SlackChannelConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SlackChannelConfiguration.Builder,SlackChannelConfiguration>, SdkBuilder<SlackChannelConfiguration.Builder,SlackChannelConfiguration>, SdkPojo
Enclosing class:
SlackChannelConfiguration

public static interface SlackChannelConfiguration.Builder extends SdkPojo, CopyableBuilder<SlackChannelConfiguration.Builder,SlackChannelConfiguration>
  • Method Details

    • slackTeamName

      SlackChannelConfiguration.Builder slackTeamName(String slackTeamName)
      Name of the Slack Workspace.
      Parameters:
      slackTeamName - Name of the Slack Workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slackTeamId

      SlackChannelConfiguration.Builder slackTeamId(String slackTeamId)
      The ID of the Slack workspace authorized with AWS Chatbot.
      Parameters:
      slackTeamId - The ID of the Slack workspace authorized with AWS Chatbot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slackChannelId

      SlackChannelConfiguration.Builder slackChannelId(String slackChannelId)
      The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.
      Parameters:
      slackChannelId - The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slackChannelName

      SlackChannelConfiguration.Builder slackChannelName(String slackChannelName)
      The name of the Slack Channel.
      Parameters:
      slackChannelName - The name of the Slack Channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chatConfigurationArn

      SlackChannelConfiguration.Builder chatConfigurationArn(String chatConfigurationArn)
      The ARN of the SlackChannelConfiguration.
      Parameters:
      chatConfigurationArn - The ARN of the SlackChannelConfiguration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamRoleArn

      SlackChannelConfiguration.Builder iamRoleArn(String iamRoleArn)
      The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
      Parameters:
      iamRoleArn - The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snsTopicArns

      The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
      Parameters:
      snsTopicArns - The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snsTopicArns

      SlackChannelConfiguration.Builder snsTopicArns(String... snsTopicArns)
      The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
      Parameters:
      snsTopicArns - The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configurationName

      SlackChannelConfiguration.Builder configurationName(String configurationName)
      The name of the configuration.
      Parameters:
      configurationName - The name of the configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • loggingLevel

      SlackChannelConfiguration.Builder loggingLevel(String loggingLevel)
      Logging levels include ERROR, INFO, or NONE.
      Parameters:
      loggingLevel - Logging levels include ERROR, INFO, or NONE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • guardrailPolicyArns

      SlackChannelConfiguration.Builder guardrailPolicyArns(Collection<String> guardrailPolicyArns)
      The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
      Parameters:
      guardrailPolicyArns - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • guardrailPolicyArns

      SlackChannelConfiguration.Builder guardrailPolicyArns(String... guardrailPolicyArns)
      The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
      Parameters:
      guardrailPolicyArns - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userAuthorizationRequired

      SlackChannelConfiguration.Builder userAuthorizationRequired(Boolean userAuthorizationRequired)
      Enables use of a user role requirement in your chat configuration.
      Parameters:
      userAuthorizationRequired - Enables use of a user role requirement in your chat configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags applied to the configuration.
      Parameters:
      tags - A list of tags applied to the configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags applied to the configuration.
      Parameters:
      tags - A list of tags applied to the configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags applied to the configuration. This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: