@Generated(value="software.amazon.awssdk:codegen") public final class UserIdentityRoot extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserIdentityRoot.Builder,UserIdentityRoot>
Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for your AWS account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserIdentityRoot.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The unique identifier for the AWS account.
|
String |
arn()
The Amazon Resource Name (ARN) of the principal that performed the action.
|
static UserIdentityRoot.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 UserIdentityRoot.Builder> |
serializableBuilderClass() |
UserIdentityRoot.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 arn()
The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user or role that performed the action.
public String principalId()
The unique identifier for the entity that performed the action.
public UserIdentityRoot.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserIdentityRoot.Builder,UserIdentityRoot>public static UserIdentityRoot.Builder builder()
public static Class<? extends UserIdentityRoot.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.