@Generated(value="software.amazon.awssdk:codegen") public final class Account extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Account.Builder,Account>
Contains information about an Amazon Web Services account that is a member of an organization.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Account.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the account.
|
static Account.Builder |
builder() |
String |
email()
The email address associated with the Amazon Web Services account.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier (ID) of the account.
|
AccountJoinedMethod |
joinedMethod()
The method by which the account joined the organization.
|
String |
joinedMethodAsString()
The method by which the account joined the organization.
|
Instant |
joinedTimestamp()
The date the account became a part of the organization.
|
String |
name()
The friendly name of the account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Account.Builder> |
serializableBuilderClass() |
AccountStatus |
status()
The status of the account in the organization.
|
String |
statusAsString()
The status of the account in the organization.
|
Account.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique identifier (ID) of the account.
The regex pattern for an account ID string requires exactly 12 digits.
The regex pattern for an account ID string requires exactly 12 digits.
public final String arn()
The Amazon Resource Name (ARN) of the account.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
public final String email()
The email address associated with the Amazon Web Services account.
The regex pattern for this parameter is a string of characters that represents a standard internet email address.
The regex pattern for this parameter is a string of characters that represents a standard internet email address.
public final String name()
The friendly name of the account.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
public final AccountStatus status()
The status of the 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().
AccountStatuspublic final String statusAsString()
The status of the 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().
AccountStatuspublic final AccountJoinedMethod joinedMethod()
The method by which the 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().
AccountJoinedMethodpublic final String joinedMethodAsString()
The method by which the 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().
AccountJoinedMethodpublic final Instant joinedTimestamp()
The date the account became a part of the organization.
public Account.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Account.Builder,Account>public static Account.Builder builder()
public static Class<? extends Account.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.