@Generated(value="software.amazon.awssdk:codegen") public final class AccountEnrollmentStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountEnrollmentStatus.Builder,AccountEnrollmentStatus>
Describes the enrollment status of an organization's member accounts in Compute Optimizer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccountEnrollmentStatus.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The Amazon Web Services account ID.
|
static AccountEnrollmentStatus.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTimestamp()
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccountEnrollmentStatus.Builder> |
serializableBuilderClass() |
Status |
status()
The account enrollment status.
|
String |
statusAsString()
The account enrollment status.
|
String |
statusReason()
The reason for the account enrollment status.
|
AccountEnrollmentStatus.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The Amazon Web Services account ID.
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().
Statuspublic 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().
Statuspublic 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.
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.
public final Instant lastUpdatedTimestamp()
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
public AccountEnrollmentStatus.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccountEnrollmentStatus.Builder,AccountEnrollmentStatus>public static AccountEnrollmentStatus.Builder builder()
public static Class<? extends AccountEnrollmentStatus.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.