Interface SlackUserIdentity.Builder

    • Method Detail

      • iamRoleArn

        SlackUserIdentity.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.
      • chatConfigurationArn

        SlackUserIdentity.Builder chatConfigurationArn​(String chatConfigurationArn)
        The ARN of the SlackChannelConfiguration associated with the user identity.
        Parameters:
        chatConfigurationArn - The ARN of the SlackChannelConfiguration associated with the user identity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • slackTeamId

        SlackUserIdentity.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.
      • slackUserId

        SlackUserIdentity.Builder slackUserId​(String slackUserId)
        The ID of the user in Slack.
        Parameters:
        slackUserId - The ID of the user in Slack.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • awsUserIdentity

        SlackUserIdentity.Builder awsUserIdentity​(String awsUserIdentity)
        The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.
        Parameters:
        awsUserIdentity - The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.