Interface CreateSlackChannelConfigurationRequest.Builder

    • Method Detail

      • slackTeamId

        CreateSlackChannelConfigurationRequest.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

        CreateSlackChannelConfigurationRequest.Builder slackChannelId​(String slackChannelId)

        The ID of the Slack channel.

        To get this 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 this 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

        CreateSlackChannelConfigurationRequest.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.
      • snsTopicArns

        CreateSlackChannelConfigurationRequest.Builder snsTopicArns​(Collection<String> snsTopicArns)

        The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.

        Parameters:
        snsTopicArns - The Amazon Resource Names (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

        CreateSlackChannelConfigurationRequest.Builder snsTopicArns​(String... snsTopicArns)

        The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.

        Parameters:
        snsTopicArns - The Amazon Resource Names (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.
      • iamRoleArn

        CreateSlackChannelConfigurationRequest.Builder iamRoleArn​(String iamRoleArn)

        A user-defined role that AWS Chatbot assumes. This is not the service-linked role.

        For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.

        Parameters:
        iamRoleArn - A user-defined role that AWS Chatbot assumes. This is not the service-linked role.

        For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationName

        CreateSlackChannelConfigurationRequest.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

        CreateSlackChannelConfigurationRequest.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

        CreateSlackChannelConfigurationRequest.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

        CreateSlackChannelConfigurationRequest.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

        CreateSlackChannelConfigurationRequest.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

        CreateSlackChannelConfigurationRequest.Builder tags​(Collection<Tag> tags)

        A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

        Parameters:
        tags - A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateSlackChannelConfigurationRequest.Builder tags​(Tag... tags)

        A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

        Parameters:
        tags - A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.