Class SlackUserIdentity

    • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)