public static interface User.Builder extends SdkPojo, CopyableBuilder<User.Builder,User>
Modifier and Type | Method and Description |
---|---|
User.Builder |
arn(String arn)
The ARN of the user account.
|
User.Builder |
directoryUserId(String directoryUserId)
The directory Id for the user account in the existing directory used for identity management.
|
User.Builder |
hierarchyGroupId(String hierarchyGroupId)
The identifier for the hierarchy group assigned to the user.
|
User.Builder |
id(String id)
The identifier of the user account.
|
default User.Builder |
identityInfo(Consumer<UserIdentityInfo.Builder> identityInfo)
A
UserIdentityInfo object. |
User.Builder |
identityInfo(UserIdentityInfo identityInfo)
A
UserIdentityInfo object. |
default User.Builder |
phoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig)
A
UserPhoneConfig object. |
User.Builder |
phoneConfig(UserPhoneConfig phoneConfig)
A
UserPhoneConfig object. |
User.Builder |
routingProfileId(String routingProfileId)
The identifier of the routing profile assigned to the user.
|
User.Builder |
securityProfileIds(Collection<String> securityProfileIds)
The identifier(s) for the security profile assigned to the user.
|
User.Builder |
securityProfileIds(String... securityProfileIds)
The identifier(s) for the security profile assigned to the user.
|
User.Builder |
username(String username)
The user name assigned to the user account.
|
copy
applyMutation, build
User.Builder id(String id)
The identifier of the user account.
id
- The identifier of the user account.User.Builder arn(String arn)
The ARN of the user account.
arn
- The ARN of the user account.User.Builder username(String username)
The user name assigned to the user account.
username
- The user name assigned to the user account.User.Builder identityInfo(UserIdentityInfo identityInfo)
A UserIdentityInfo
object.
identityInfo
- A UserIdentityInfo
object.default User.Builder identityInfo(Consumer<UserIdentityInfo.Builder> identityInfo)
A UserIdentityInfo
object.
UserIdentityInfo.Builder
avoiding the need to
create one manually via UserIdentityInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to identityInfo(UserIdentityInfo)
.identityInfo
- a consumer that will call methods on UserIdentityInfo.Builder
identityInfo(UserIdentityInfo)
User.Builder phoneConfig(UserPhoneConfig phoneConfig)
A UserPhoneConfig
object.
phoneConfig
- A UserPhoneConfig
object.default User.Builder phoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig)
A UserPhoneConfig
object.
UserPhoneConfig.Builder
avoiding the need to
create one manually via UserPhoneConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to phoneConfig(UserPhoneConfig)
.phoneConfig
- a consumer that will call methods on UserPhoneConfig.Builder
phoneConfig(UserPhoneConfig)
User.Builder directoryUserId(String directoryUserId)
The directory Id for the user account in the existing directory used for identity management.
directoryUserId
- The directory Id for the user account in the existing directory used for identity management.User.Builder securityProfileIds(Collection<String> securityProfileIds)
The identifier(s) for the security profile assigned to the user.
securityProfileIds
- The identifier(s) for the security profile assigned to the user.User.Builder securityProfileIds(String... securityProfileIds)
The identifier(s) for the security profile assigned to the user.
securityProfileIds
- The identifier(s) for the security profile assigned to the user.User.Builder routingProfileId(String routingProfileId)
The identifier of the routing profile assigned to the user.
routingProfileId
- The identifier of the routing profile assigned to the user.User.Builder hierarchyGroupId(String hierarchyGroupId)
The identifier for the hierarchy group assigned to the user.
hierarchyGroupId
- The identifier for the hierarchy group assigned to the user.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.