Interface User.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<User.Builder,User>,SdkBuilder<User.Builder,User>,SdkPojo
- Enclosing class:
- User
public static interface User.Builder extends SdkPojo, CopyableBuilder<User.Builder,User>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description User.Builderarn(String arn)The Amazon Resource Name (ARN) of the user account.User.BuilderdirectoryUserId(String directoryUserId)The identifier of the user account in the directory used for identity management.User.BuilderhierarchyGroupId(String hierarchyGroupId)The identifier of the hierarchy group for the user.User.Builderid(String id)The identifier of the user account.default User.BuilderidentityInfo(Consumer<UserIdentityInfo.Builder> identityInfo)Information about the user identity.User.BuilderidentityInfo(UserIdentityInfo identityInfo)Information about the user identity.User.BuilderlastModifiedRegion(String lastModifiedRegion)The Amazon Web Services Region where this resource was last modified.User.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp when this resource was last modified.default User.BuilderphoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig)Information about the phone configuration for the user.User.BuilderphoneConfig(UserPhoneConfig phoneConfig)Information about the phone configuration for the user.User.BuilderroutingProfileId(String routingProfileId)The identifier of the routing profile for the user.User.BuildersecurityProfileIds(String... securityProfileIds)The identifiers of the security profiles for the user.User.BuildersecurityProfileIds(Collection<String> securityProfileIds)The identifiers of the security profiles for the user.User.Buildertags(Map<String,String> tags)The tags.User.Builderusername(String username)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 Detail
-
id
User.Builder id(String 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
User.Builder arn(String 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
User.Builder username(String 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
User.Builder identityInfo(UserIdentityInfo 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
default User.Builder identityInfo(Consumer<UserIdentityInfo.Builder> identityInfo)
Information about the user identity.
This is a convenience method that creates an instance of theUserIdentityInfo.Builderavoiding the need to create one manually viaUserIdentityInfo.builder().When the
Consumercompletes,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:
identityInfo(UserIdentityInfo)
-
phoneConfig
User.Builder phoneConfig(UserPhoneConfig 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
default User.Builder phoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig)
Information about the phone configuration for the user.
This is a convenience method that creates an instance of theUserPhoneConfig.Builderavoiding the need to create one manually viaUserPhoneConfig.builder().When the
Consumercompletes,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:
phoneConfig(UserPhoneConfig)
-
directoryUserId
User.Builder directoryUserId(String 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
User.Builder securityProfileIds(Collection<String> 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
User.Builder securityProfileIds(String... 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
User.Builder routingProfileId(String 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
User.Builder hierarchyGroupId(String 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
User.Builder tags(Map<String,String> tags)
The tags.
- Parameters:
tags- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
User.Builder lastModifiedTime(Instant 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
User.Builder lastModifiedRegion(String 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.
-
-