Class UserContext

    • Method Detail

      • userProfileArn

        public final String userProfileArn()

        The Amazon Resource Name (ARN) of the user's profile.

        Returns:
        The Amazon Resource Name (ARN) of the user's profile.
      • userProfileName

        public final String userProfileName()

        The name of the user's profile.

        Returns:
        The name of the user's profile.
      • domainId

        public final String domainId()

        The domain associated with the user.

        Returns:
        The domain associated with the user.
      • iamIdentity

        public final IamIdentity iamIdentity()

        The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.

        Returns:
        The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
      • 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)