@Generated(value="software.amazon.awssdk:codegen") public final class IamUser extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IamUser.Builder,IamUser>
Provides information about an AWS 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 AWS 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 String accountId()
The unique identifier for the AWS account that's associated with the IAM user who performed the action.
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 who performed the action.
public String principalId()
The unique identifier for the IAM user who performed the action.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.