@Generated(value="software.amazon.awssdk:codegen") public final class IamUser extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IamUser.Builder,IamUser>
Provides information about an Identity and Access Management (IAM) user who performed an action on an affected resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IamUser.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the
action.
|
String |
arn()
The Amazon Resource Name (ARN) of the principal that performed the action.
|
static IamUser.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 IAM user who performed the action.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IamUser.Builder> |
serializableBuilderClass() |
IamUser.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The user name of the IAM user who performed the action.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.
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 who performed the action.
public final String principalId()
The unique identifier for the IAM user who performed the action.
public final String userName()
The user name of the IAM user who performed the action.
public IamUser.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IamUser.Builder,IamUser>public static IamUser.Builder builder()
public static Class<? extends IamUser.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.