ToCopyableBuilder<UserDetail.Builder,UserDetail>
@Generated("software.amazon.awssdk:codegen") public class UserDetail extends Object implements ToCopyableBuilder<UserDetail.Builder,UserDetail>
Contains information about an IAM user, including all the user's policies and all the IAM groups the user is in.
This data type is used as a response element in the GetAccountAuthorizationDetails action.
Modifier and Type | Class | Description |
---|---|---|
static interface |
UserDetail.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
arn() |
|
List<AttachedPolicy> |
attachedManagedPolicies() |
A list of the managed policies attached to the user.
|
static UserDetail.Builder |
builder() |
|
Date |
createDate() |
The date and time, in ISO 8601 date-time format, when the user was
created.
|
boolean |
equals(Object obj) |
|
List<String> |
groupList() |
A list of IAM groups that the user is in.
|
int |
hashCode() |
|
String |
path() |
The path to the user.
|
static Class<? extends UserDetail.Builder> |
serializableBuilderClass() |
|
UserDetail.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
userId() |
The stable and unique string identifying the user.
|
String |
userName() |
The friendly name identifying the user.
|
List<PolicyDetail> |
userPolicyList() |
A list of the inline policies embedded in the user.
|
public String path()
The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.
public String userName()
The friendly name identifying the user.
public String userId()
The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.
public String arn()
public Date createDate()
The date and time, in ISO 8601 date-time format, when the user was created.
public List<PolicyDetail> userPolicyList()
A list of the inline policies embedded in the user.
public List<String> groupList()
A list of IAM groups that the user is in.
public List<AttachedPolicy> attachedManagedPolicies()
A list of the managed policies attached to the user.
public UserDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserDetail.Builder,UserDetail>
public static UserDetail.Builder builder()
public static Class<? extends UserDetail.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.