Interface SlackUserIdentity.Builder

    • Method Detail

      • iamRoleArn

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

        SlackUserIdentity.Builder chatConfigurationArn​(String chatConfigurationArn)

        The Amazon Resource Name (ARN) of the SlackChannelConfiguration associated with the user identity to delete.

        Parameters:
        chatConfigurationArn - The Amazon Resource Name (ARN) of the SlackChannelConfiguration associated with the user identity to delete.
        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 ID with an IAM Role.

        Parameters:
        awsUserIdentity - The AWS user identity ARN used to associate a Slack user ID with an IAM Role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.