@Generated(value="software.amazon.awssdk:codegen") public final class AwsAccount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsAccount.Builder,AwsAccount>
Provides information about an Amazon Web Services account and entity that performed an action on an affected resource. The action was performed using the credentials for an Amazon Web Services account other than your own account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsAccount.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The unique identifier for the Amazon Web Services account.
|
static AwsAccount.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
principalId()
The unique identifier for the entity that performed the action.
|
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 accountId()
The unique identifier for the Amazon Web Services account.
public final String principalId()
The unique identifier for the entity that performed the action.
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.