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 user.
|
UserDetail.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags that are associated with the user.
|
UserDetail.Builder |
tags(Tag... tags)
A list of tags that are associated with 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUserDetail.Builder path(String path)
The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide.
path - The path to the user. For more information about paths, see IAM identifiers in
the IAM User 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 IAM User Guide.
userId - The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in
the IAM User 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 method that creates an instance of thePolicyDetail.Builder avoiding the need to create one
manually via PolicyDetail.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #userPolicyList(List.
userPolicyList - a consumer that will call methods on
PolicyDetail.Builder#userPolicyList(java.util.Collection) 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 method that creates an instance of theAttachedPolicy.Builder avoiding the need to create one
manually via AttachedPolicy.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #attachedManagedPolicies(List.
attachedManagedPolicies - a consumer that will call methods on
AttachedPolicy.Builder#attachedManagedPolicies(java.util.Collection) 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 method 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.BuilderpermissionsBoundary(AttachedPermissionsBoundary)UserDetail.Builder tags(Collection<Tag> tags)
A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
tags - A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the
IAM User Guide.UserDetail.Builder tags(Tag... tags)
A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
tags - A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the
IAM User Guide.UserDetail.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.