Interface UserDetail.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<UserDetail.Builder,,- UserDetail> - SdkBuilder<UserDetail.Builder,,- UserDetail> - SdkPojo
- Enclosing class:
- UserDetail
- 
Method SummaryModifier 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.BuilderpermissionsBoundary(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
pathThe 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.
 
- 
userNameThe 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.
 
- 
userIdThe 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.
 
- 
arnSets 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.
 
- 
createDateThe 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.
 
- 
userPolicyListA 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.
 
- 
userPolicyListA 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.
 
- 
userPolicyListA list of the inline policies embedded in the user. This is a convenience method that creates an instance of thePolicyDetail.Builderavoiding the need to create one manually viaPolicyDetail.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserPolicyList(List<PolicyDetail>).- Parameters:
- userPolicyList- a consumer that will call methods on- PolicyDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
groupListA 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.
 
- 
groupListA 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.
 
- 
attachedManagedPoliciesA 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.
 
- 
attachedManagedPoliciesA 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.
 
- 
attachedManagedPoliciesUserDetail.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.Builderavoiding the need to create one manually viaAttachedPolicy.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachedManagedPolicies(List<AttachedPolicy>).- Parameters:
- attachedManagedPolicies- a consumer that will call methods on- AttachedPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
permissionsBoundaryThe 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.
 
- 
permissionsBoundarydefault 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.Builderavoiding the need to create one manually viaAttachedPermissionsBoundary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissionsBoundary(AttachedPermissionsBoundary).- Parameters:
- permissionsBoundary- a consumer that will call methods on- AttachedPermissionsBoundary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsA 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.
 
- 
tagsA 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.
 
- 
tagsA 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.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-