Class SlackUserIdentity
- java.lang.Object
-
- software.amazon.awssdk.services.chatbot.model.SlackUserIdentity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SlackUserIdentity.Builder,SlackUserIdentity>
@Generated("software.amazon.awssdk:codegen") public final class SlackUserIdentity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlackUserIdentity.Builder,SlackUserIdentity>
Identifes a User level permission for a channel configuration.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSlackUserIdentity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsUserIdentity()The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.static SlackUserIdentity.Builderbuilder()StringchatConfigurationArn()The ARN of the SlackChannelConfiguration associated with the user identity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamRoleArn()The ARN of the IAM role that defines the permissions for AWS Chatbot.List<SdkField<?>>sdkFields()static Class<? extends SlackUserIdentity.Builder>serializableBuilderClass()StringslackTeamId()The ID of the Slack workspace authorized with AWS Chatbot.StringslackUserId()The ID of the user in Slack.SlackUserIdentity.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
iamRoleArn
public final 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.- Returns:
- 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.
-
chatConfigurationArn
public final String chatConfigurationArn()
The ARN of the SlackChannelConfiguration associated with the user identity.- Returns:
- The ARN of the SlackChannelConfiguration associated with the user identity.
-
slackTeamId
public final String slackTeamId()
The ID of the Slack workspace authorized with AWS Chatbot.- Returns:
- The ID of the Slack workspace authorized with AWS Chatbot.
-
slackUserId
public final String slackUserId()
The ID of the user in Slack.- Returns:
- The ID of the user in Slack.
-
awsUserIdentity
public final String awsUserIdentity()
The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.- Returns:
- The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.
-
toBuilder
public SlackUserIdentity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SlackUserIdentity.Builder,SlackUserIdentity>
-
builder
public static SlackUserIdentity.Builder builder()
-
serializableBuilderClass
public static Class<? extends SlackUserIdentity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-