Interface UserDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserDetail.Builder,
,UserDetail> SdkBuilder<UserDetail.Builder,
,UserDetail> SdkPojo
- Enclosing class:
UserDetail
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Arn property for this object.attachedManagedPolicies
(Collection<AttachedPolicy> attachedManagedPolicies) A list of the managed policies attached to the user.attachedManagedPolicies
(Consumer<AttachedPolicy.Builder>... attachedManagedPolicies) A list of the managed policies attached to the user.attachedManagedPolicies
(AttachedPolicy... attachedManagedPolicies) A list of the managed policies attached to the user.createDate
(Instant createDate) The date and time, in ISO 8601 date-time format, when the user was created.A list of IAM groups that the user is in.groupList
(Collection<String> groupList) A list of IAM groups that the user is in.The path to the user.default UserDetail.Builder
permissionsBoundary
(Consumer<AttachedPermissionsBoundary.Builder> permissionsBoundary) The ARN of the policy used to set the permissions boundary for the user.permissionsBoundary
(AttachedPermissionsBoundary permissionsBoundary) The ARN of the policy used to set the permissions boundary for the user.tags
(Collection<Tag> tags) A list of tags that are associated with the user.tags
(Consumer<Tag.Builder>... tags) A list of tags that are associated with the user.A list of tags that are associated with the user.The stable and unique string identifying the user.The friendly name identifying the user.userPolicyList
(Collection<PolicyDetail> userPolicyList) A list of the inline policies embedded in the user.userPolicyList
(Consumer<PolicyDetail.Builder>... userPolicyList) A list of the inline policies embedded in the user.userPolicyList
(PolicyDetail... userPolicyList) A list of the inline policies embedded in the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
path
The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide.
- Parameters:
path
- The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userName
The friendly name identifying the user.
- Parameters:
userName
- The friendly name identifying the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.
- Parameters:
userId
- The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Sets the value of the Arn property for this object.- Parameters:
arn
- The new value for the Arn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
The date and time, in ISO 8601 date-time format, when the user was created.
- Parameters:
createDate
- The date and time, in ISO 8601 date-time format, when the user was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPolicyList
A list of the inline policies embedded in the user.
- Parameters:
userPolicyList
- A list of the inline policies embedded in the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPolicyList
A list of the inline policies embedded in the user.
- Parameters:
userPolicyList
- A list of the inline policies embedded in the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPolicyDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserPolicyList(List<PolicyDetail>)
.- Parameters:
userPolicyList
- a consumer that will call methods onPolicyDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupList
A list of IAM groups that the user is in.
- Parameters:
groupList
- A list of IAM groups that the user is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupList
A list of IAM groups that the user is in.
- Parameters:
groupList
- A list of IAM groups that the user is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedManagedPolicies
A list of the managed policies attached to the user.
- Parameters:
attachedManagedPolicies
- A list of the managed policies attached to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedManagedPolicies
A list of the managed policies attached to the user.
- Parameters:
attachedManagedPolicies
- A list of the managed policies attached to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedManagedPolicies
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 viaAttachedPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachedManagedPolicies(List<AttachedPolicy>)
.- Parameters:
attachedManagedPolicies
- a consumer that will call methods onAttachedPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsBoundary
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 viaAttachedPermissionsBoundary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissionsBoundary(AttachedPermissionsBoundary)
.- Parameters:
permissionsBoundary
- a consumer that will call methods onAttachedPermissionsBoundary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-