Interface SlackUserIdentity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SlackUserIdentity.Builder,SlackUserIdentity>,SdkBuilder<SlackUserIdentity.Builder,SlackUserIdentity>,SdkPojo
- Enclosing class:
- SlackUserIdentity
public static interface SlackUserIdentity.Builder extends SdkPojo, CopyableBuilder<SlackUserIdentity.Builder,SlackUserIdentity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SlackUserIdentity.BuilderawsUserIdentity(String awsUserIdentity)The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.SlackUserIdentity.BuilderchatConfigurationArn(String chatConfigurationArn)The ARN of the SlackChannelConfiguration associated with the user identity.SlackUserIdentity.BuilderiamRoleArn(String iamRoleArn)The ARN of the IAM role that defines the permissions for AWS Chatbot.SlackUserIdentity.BuilderslackTeamId(String slackTeamId)The ID of the Slack workspace authorized with AWS Chatbot.SlackUserIdentity.BuilderslackUserId(String slackUserId)The ID of the user in Slack.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
-