Class DelegatedAdministrator

    • Method Detail

      • id

        public final String id()

        The unique identifier (ID) of the delegated administrator's account.

        Returns:
        The unique identifier (ID) of the delegated administrator's account.
      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the delegated administrator's account.

        Returns:
        The Amazon Resource Name (ARN) of the delegated administrator's account.
      • email

        public final String email()

        The email address that is associated with the delegated administrator's Amazon Web Services account.

        Returns:
        The email address that is associated with the delegated administrator's Amazon Web Services account.
      • name

        public final String name()

        The friendly name of the delegated administrator's account.

        Returns:
        The friendly name of the delegated administrator's account.
      • status

        public final AccountStatus status()

        The status of the delegated administrator's account in the organization.

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

        Returns:
        The status of the delegated administrator's account in the organization.
        See Also:
        AccountStatus
      • statusAsString

        public final String statusAsString()

        The status of the delegated administrator's account in the organization.

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

        Returns:
        The status of the delegated administrator's account in the organization.
        See Also:
        AccountStatus
      • joinedMethodAsString

        public final String joinedMethodAsString()

        The method by which the delegated administrator's account joined the organization.

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

        Returns:
        The method by which the delegated administrator's account joined the organization.
        See Also:
        AccountJoinedMethod
      • joinedTimestamp

        public final Instant joinedTimestamp()

        The date when the delegated administrator's account became a part of the organization.

        Returns:
        The date when the delegated administrator's account became a part of the organization.
      • delegationEnabledDate

        public final Instant delegationEnabledDate()

        The date when the account was made a delegated administrator.

        Returns:
        The date when the account was made a delegated administrator.
      • 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)