Interface User.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<User.Builder,
,User> SdkBuilder<User.Builder,
,User> SdkPojo
- Enclosing class:
User
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the user account.directoryUserId
(String directoryUserId) The identifier of the user account in the directory used for identity management.hierarchyGroupId
(String hierarchyGroupId) The identifier of the hierarchy group for the user.The identifier of the user account.default User.Builder
identityInfo
(Consumer<UserIdentityInfo.Builder> identityInfo) Information about the user identity.identityInfo
(UserIdentityInfo identityInfo) Information about the user identity.lastModifiedRegion
(String lastModifiedRegion) The Amazon Web Services Region where this resource was last modified.lastModifiedTime
(Instant lastModifiedTime) The timestamp when this resource was last modified.default User.Builder
phoneConfig
(Consumer<UserPhoneConfig.Builder> phoneConfig) Information about the phone configuration for the user.phoneConfig
(UserPhoneConfig phoneConfig) Information about the phone configuration for the user.routingProfileId
(String routingProfileId) The identifier of the routing profile for the user.securityProfileIds
(String... securityProfileIds) The identifiers of the security profiles for the user.securityProfileIds
(Collection<String> securityProfileIds) The identifiers of the security profiles for the user.The tags.The user name assigned to the user account.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
-
id
The identifier of the user account.
- Parameters:
id
- The identifier of the user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the user account.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The user name assigned to the user account.
- Parameters:
username
- The user name assigned to the user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityInfo
Information about the user identity.
- Parameters:
identityInfo
- Information about the user identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityInfo
Information about the user identity.
This is a convenience method that creates an instance of theUserIdentityInfo.Builder
avoiding the need to create one manually viaUserIdentityInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentityInfo(UserIdentityInfo)
.- Parameters:
identityInfo
- a consumer that will call methods onUserIdentityInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phoneConfig
Information about the phone configuration for the user.
- Parameters:
phoneConfig
- Information about the phone configuration for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneConfig
Information about the phone configuration for the user.
This is a convenience method that creates an instance of theUserPhoneConfig.Builder
avoiding the need to create one manually viaUserPhoneConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophoneConfig(UserPhoneConfig)
.- Parameters:
phoneConfig
- a consumer that will call methods onUserPhoneConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
directoryUserId
The identifier of the user account in the directory used for identity management.
- Parameters:
directoryUserId
- The identifier of the user account in the directory used for identity management.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityProfileIds
The identifiers of the security profiles for the user.
- Parameters:
securityProfileIds
- The identifiers of the security profiles for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityProfileIds
The identifiers of the security profiles for the user.
- Parameters:
securityProfileIds
- The identifiers of the security profiles for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingProfileId
The identifier of the routing profile for the user.
- Parameters:
routingProfileId
- The identifier of the routing profile for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyGroupId
The identifier of the hierarchy group for the user.
- Parameters:
hierarchyGroupId
- The identifier of the hierarchy group for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The timestamp when this resource was last modified.
- Parameters:
lastModifiedTime
- The timestamp when this resource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedRegion
The Amazon Web Services Region where this resource was last modified.
- Parameters:
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-