@Generated(value="software.amazon.awssdk:codegen") public final class AWSAccount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AWSAccount.Builder,AWSAccount>
The wrapper of Amazon Web Services account details, such as account ID or email address.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AWSAccount.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AWSAccount.Builder |
builder() |
String |
emailAddress()
The email address that's 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 identifier for the Amazon Web Services account.
|
String |
name()
The name of the Amazon Web Services account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AWSAccount.Builder> |
serializableBuilderClass() |
AWSAccount.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier for the Amazon Web Services account.
public final String emailAddress()
The email address that's associated with the Amazon Web Services account.
public final String name()
The name of the Amazon Web Services account.
public AWSAccount.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AWSAccount.Builder,AWSAccount>public static AWSAccount.Builder builder()
public static Class<? extends AWSAccount.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.