Class AccountEnrollmentStatus

    • Method Detail

      • accountId

        public final String accountId()

        The Amazon Web Services account ID.

        Returns:
        The Amazon Web Services account ID.
      • status

        public final Status status()

        The account enrollment status.

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

        Returns:
        The account enrollment status.
        See Also:
        Status
      • statusAsString

        public final String statusAsString()

        The account enrollment status.

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

        Returns:
        The account enrollment status.
        See Also:
        Status
      • statusReason

        public final String statusReason()

        The reason for the account enrollment status.

        For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

        Returns:
        The reason for the account enrollment status.

        For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

      • lastUpdatedTimestamp

        public final Instant lastUpdatedTimestamp()

        The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.

        Returns:
        The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
      • 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)