@Generated(value="software.amazon.awssdk:codegen") public final class AwsAccount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsAccount.Builder,AwsAccount>
Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for an AWS 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 AWS 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 String accountId()
The unique identifier for the AWS account.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.