@Generated(value="software.amazon.awssdk:codegen") public final class UserIdentityRoot extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserIdentityRoot.Builder,UserIdentityRoot>
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 your Amazon Web Services account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserIdentityRoot.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The unique identifier for the Amazon Web Services 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 final String accountId()
The unique identifier for the Amazon Web Services account.
public final 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 final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.