@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlackUserIdentity extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SlackUserIdentity() |
Modifier and Type | Method and Description |
---|---|
SlackUserIdentity |
clone() |
boolean |
equals(Object obj) |
String |
getAwsUserIdentity()
The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.
|
String |
getChatConfigurationArn()
The ARN of the SlackChannelConfiguration associated with the user identity.
|
String |
getIamRoleArn()
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
String |
getSlackTeamId()
The ID of the Slack workspace authorized with AWS Chatbot.
|
String |
getSlackUserId()
The ID of the user in Slack.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsUserIdentity(String awsUserIdentity)
The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.
|
void |
setChatConfigurationArn(String chatConfigurationArn)
The ARN of the SlackChannelConfiguration associated with the user identity.
|
void |
setIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
void |
setSlackTeamId(String slackTeamId)
The ID of the Slack workspace authorized with AWS Chatbot.
|
void |
setSlackUserId(String slackUserId)
The ID of the user in Slack.
|
String |
toString()
Returns a string representation of this object.
|
SlackUserIdentity |
withAwsUserIdentity(String awsUserIdentity)
The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.
|
SlackUserIdentity |
withChatConfigurationArn(String chatConfigurationArn)
The ARN of the SlackChannelConfiguration associated with the user identity.
|
SlackUserIdentity |
withIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
SlackUserIdentity |
withSlackTeamId(String slackTeamId)
The ID of the Slack workspace authorized with AWS Chatbot.
|
SlackUserIdentity |
withSlackUserId(String slackUserId)
The ID of the user in Slack.
|
public void setIamRoleArn(String iamRoleArn)
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.public String getIamRoleArn()
public SlackUserIdentity withIamRoleArn(String iamRoleArn)
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.public void setChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the SlackChannelConfiguration associated with the user identity.public String getChatConfigurationArn()
public SlackUserIdentity withChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the SlackChannelConfiguration associated with the user identity.public void setSlackTeamId(String slackTeamId)
slackTeamId
- The ID of the Slack workspace authorized with AWS Chatbot.public String getSlackTeamId()
public SlackUserIdentity withSlackTeamId(String slackTeamId)
slackTeamId
- The ID of the Slack workspace authorized with AWS Chatbot.public void setSlackUserId(String slackUserId)
slackUserId
- The ID of the user in Slack.public String getSlackUserId()
public SlackUserIdentity withSlackUserId(String slackUserId)
slackUserId
- The ID of the user in Slack.public void setAwsUserIdentity(String awsUserIdentity)
awsUserIdentity
- The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.public String getAwsUserIdentity()
public SlackUserIdentity withAwsUserIdentity(String awsUserIdentity)
awsUserIdentity
- The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.public String toString()
toString
in class Object
Object.toString()
public SlackUserIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.