public static interface UserDetail.Builder extends CopyableBuilder<UserDetail.Builder,UserDetail>
Modifier and Type | Method and Description |
---|---|
UserDetail.Builder |
arn(String arn)
Sets the value of the Arn property for this object.
|
UserDetail.Builder |
attachedManagedPolicies(AttachedPolicy... attachedManagedPolicies)
A list of the managed policies attached to the user.
|
UserDetail.Builder |
attachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)
A list of the managed policies attached to the user.
|
UserDetail.Builder |
attachedManagedPolicies(Consumer<AttachedPolicy.Builder>... attachedManagedPolicies)
A list of the managed policies attached to the user.
|
UserDetail.Builder |
createDate(Instant createDate)
The date and time, in ISO 8601 date-time format, when the user
was created.
|
UserDetail.Builder |
groupList(Collection<String> groupList)
A list of IAM groups that the user is in.
|
UserDetail.Builder |
groupList(String... groupList)
A list of IAM groups that the user is in.
|
UserDetail.Builder |
path(String path)
The path to the user.
|
UserDetail.Builder |
userId(String userId)
The stable and unique string identifying the user.
|
UserDetail.Builder |
userName(String userName)
The friendly name identifying the user.
|
UserDetail.Builder |
userPolicyList(Collection<PolicyDetail> userPolicyList)
A list of the inline policies embedded in the user.
|
UserDetail.Builder |
userPolicyList(Consumer<PolicyDetail.Builder>... userPolicyList)
A list of the inline policies embedded in the user.
|
UserDetail.Builder |
userPolicyList(PolicyDetail... userPolicyList)
A list of the inline policies embedded in the user.
|
copy
applyMutation, build
UserDetail.Builder path(String path)
The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.
path
- The path to the user. For more information about paths, see IAM Identifiers in
the Using IAM guide.UserDetail.Builder userName(String userName)
The friendly name identifying the user.
userName
- The friendly name identifying the user.UserDetail.Builder userId(String userId)
The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.
userId
- The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in
the Using IAM guide.UserDetail.Builder arn(String arn)
arn
- The new value for the Arn property for this object.UserDetail.Builder createDate(Instant createDate)
The date and time, in ISO 8601 date-time format, when the user was created.
createDate
- The date and time, in ISO 8601 date-time format, when the
user was created.UserDetail.Builder userPolicyList(Collection<PolicyDetail> userPolicyList)
A list of the inline policies embedded in the user.
userPolicyList
- A list of the inline policies embedded in the user.UserDetail.Builder userPolicyList(PolicyDetail... userPolicyList)
A list of the inline policies embedded in the user.
userPolicyList
- A list of the inline policies embedded in the user.UserDetail.Builder userPolicyList(Consumer<PolicyDetail.Builder>... userPolicyList)
A list of the inline policies embedded in the user.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #userPolicyList(List)
.userPolicyList
- a consumer that will call methods on List.Builder
#userPolicyList(List)
UserDetail.Builder groupList(Collection<String> groupList)
A list of IAM groups that the user is in.
groupList
- A list of IAM groups that the user is in.UserDetail.Builder groupList(String... groupList)
A list of IAM groups that the user is in.
groupList
- A list of IAM groups that the user is in.UserDetail.Builder attachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)
A list of the managed policies attached to the user.
attachedManagedPolicies
- A list of the managed policies attached to the user.UserDetail.Builder attachedManagedPolicies(AttachedPolicy... attachedManagedPolicies)
A list of the managed policies attached to the user.
attachedManagedPolicies
- A list of the managed policies attached to the user.UserDetail.Builder attachedManagedPolicies(Consumer<AttachedPolicy.Builder>... attachedManagedPolicies)
A list of the managed policies attached to the user.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #attachedManagedPolicies(List)
.attachedManagedPolicies
- a consumer that will call methods on List.Builder
#attachedManagedPolicies(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.