CopyableBuilder<UserDetail.Builder,UserDetail>
, SdkBuilder<UserDetail.Builder,UserDetail>
public static interface UserDetail.Builder extends CopyableBuilder<UserDetail.Builder,UserDetail>
Modifier and Type | Method | Description |
---|---|---|
UserDetail.Builder |
arn(String arn) |
|
UserDetail.Builder |
attachedManagedPolicies(Collection<AttachedPolicy> 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.
|
UserDetail.Builder |
createDate(Date createDate) |
The date and time, in ISO 8601 date-time format, when the user
was created.
|
UserDetail.Builder |
groupList(String... groupList) |
A list of IAM groups that the user is in.
|
UserDetail.Builder |
groupList(Collection<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(PolicyDetail... userPolicyList) |
A list of the inline policies embedded in the user.
|
copy
apply, 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
- UserDetail.Builder createDate(Date 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.
NOTE: This method appends the values to the existing list (if any). Use
#setUserPolicyList(java.util.Collection)
or #withUserPolicyList(java.util.Collection)
if you
want to override the existing values.
userPolicyList
- A list of the inline policies embedded in the user.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.
NOTE: This method appends the values to the existing list (if any). Use
#setGroupList(java.util.Collection)
or #withGroupList(java.util.Collection)
if you want to
override the existing values.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setAttachedManagedPolicies(java.util.Collection)
or
#withAttachedManagedPolicies(java.util.Collection)
if you want to override the existing values.
attachedManagedPolicies
- A list of the managed policies attached to the user.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.