Class AWSAccount
- java.lang.Object
-
- software.amazon.awssdk.services.auditmanager.model.AWSAccount
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AWSAccount.Builder,AWSAccount>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAWSAccount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AWSAccount.Builderbuilder()StringemailAddress()The email address that's associated with the Amazon Web Services account.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier for the Amazon Web Services account.Stringname()The name of the Amazon Web Services account.List<SdkField<?>>sdkFields()static Class<? extends AWSAccount.Builder>serializableBuilderClass()AWSAccount.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The identifier for the Amazon Web Services account.
- Returns:
- The identifier for the Amazon Web Services account.
-
emailAddress
public final String emailAddress()
The email address that's associated with the Amazon Web Services account.
- Returns:
- The email address that's associated with the Amazon Web Services account.
-
name
public final String name()
The name of the Amazon Web Services account.
- Returns:
- The name of the Amazon Web Services account.
-
toBuilder
public AWSAccount.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AWSAccount.Builder,AWSAccount>
-
builder
public static AWSAccount.Builder builder()
-
serializableBuilderClass
public static Class<? extends AWSAccount.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-