Class SlackUserIdentity

    • Method Detail

      • iamRoleArn

        public final 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.

        Returns:
        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.

      • chatConfigurationArn

        public final String chatConfigurationArn()

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

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

        Returns:
        The AWS user identity ARN used to associate a Slack user ID 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)