public static interface UserDetail.Builder extends SdkPojo, 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 |
permissionsBoundary(AttachedPermissionsBoundary permissionsBoundary)
The ARN of the policy used to set the permissions boundary for the user.
|
default UserDetail.Builder |
permissionsBoundary(Consumer<AttachedPermissionsBoundary.Builder> permissionsBoundary)
The ARN of the policy used to set the permissions boundary for the user.
|
UserDetail.Builder |
tags(Collection<Tag> tags)
A list of tags that are associated with the specified user.
|
UserDetail.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags that are associated with the specified user.
|
UserDetail.Builder |
tags(Tag... tags)
A list of tags that are associated with the specified 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)
UserDetail.Builder tags(Collection<Tag> tags)
A list of tags that are associated with the specified user. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.
tags
- A list of tags that are associated with the specified user. For more information about tagging, see Tagging IAM Identities in the
IAM User Guide.UserDetail.Builder tags(Tag... tags)
A list of tags that are associated with the specified user. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.
tags
- A list of tags that are associated with the specified user. For more information about tagging, see Tagging IAM Identities in the
IAM User Guide.UserDetail.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags that are associated with the specified user. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.
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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
UserDetail.Builder permissionsBoundary(AttachedPermissionsBoundary permissionsBoundary)
The ARN of the policy used to set the permissions boundary for the user.
For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.
permissionsBoundary
- The ARN of the policy used to set the permissions boundary for the user.
For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.
default UserDetail.Builder permissionsBoundary(Consumer<AttachedPermissionsBoundary.Builder> permissionsBoundary)
The ARN of the policy used to set the permissions boundary for the user.
For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.
This is a convenience that creates an instance of theAttachedPermissionsBoundary.Builder
avoiding
the need to create one manually via AttachedPermissionsBoundary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to permissionsBoundary(AttachedPermissionsBoundary)
.permissionsBoundary
- a consumer that will call methods on AttachedPermissionsBoundary.Builder
permissionsBoundary(AttachedPermissionsBoundary)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.