Class Profile

    • Method Detail

      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the Profile.

        Returns:
        The Amazon Resource Name (ARN) of the Profile.
      • clientToken

        public final String clientToken()

        The ClientToken value that was assigned when the Profile was created.

        Returns:
        The ClientToken value that was assigned when the Profile was created.
      • creationTime

        public final Instant creationTime()

        The date and time that the Profile was created, in Unix time format and Coordinated Universal Time (UTC).

        Returns:
        The date and time that the Profile was created, in Unix time format and Coordinated Universal Time (UTC).
      • id

        public final String id()

        ID of the Profile.

        Returns:
        ID of the Profile.
      • modificationTime

        public final Instant modificationTime()

        The date and time that the Profile was modified, in Unix time format and Coordinated Universal Time (UTC).

        Returns:
        The date and time that the Profile was modified, in Unix time format and Coordinated Universal Time (UTC).
      • name

        public final String name()

        Name of the Profile.

        Returns:
        Name of the Profile.
      • ownerId

        public final String ownerId()

        Amazon Web Services account ID of the Profile owner.

        Returns:
        Amazon Web Services account ID of the Profile owner.
      • shareStatusAsString

        public final String shareStatusAsString()

        Sharing status for the Profile.

        If the service returns an enum value that is not available in the current SDK version, shareStatus will return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from shareStatusAsString().

        Returns:
        Sharing status for the Profile.
        See Also:
        ShareStatus
      • statusAsString

        public final String statusAsString()

        The status for the Profile.

        If the service returns an enum value that is not available in the current SDK version, status will return ProfileStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status for the Profile.
        See Also:
        ProfileStatus
      • statusMessage

        public final String statusMessage()

        Status message that includes additiona information about the Profile.

        Returns:
        Status message that includes additiona information about the Profile.
      • serializableBuilderClass

        public static Class<? extends Profile.Builder> serializableBuilderClass()
      • 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)