Interface ModifyUserRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyUserRequest.Builder,ModifyUserRequest>
,ElastiCacheRequest.Builder
,SdkBuilder<ModifyUserRequest.Builder,ModifyUserRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyUserRequest
public static interface ModifyUserRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<ModifyUserRequest.Builder,ModifyUserRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
build
-
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
-
userId
ModifyUserRequest.Builder userId(String userId)
The ID of the user.
- Parameters:
userId
- The ID of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessString
ModifyUserRequest.Builder accessString(String accessString)
Access permissions string used for this user.
- Parameters:
accessString
- Access permissions string used for this user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appendAccessString
ModifyUserRequest.Builder appendAccessString(String appendAccessString)
Adds additional user permissions to the access string.
- Parameters:
appendAccessString
- Adds additional user permissions to the access string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passwords
ModifyUserRequest.Builder passwords(Collection<String> passwords)
The passwords belonging to the user. You are allowed up to two.
- Parameters:
passwords
- The passwords belonging to the user. You are allowed up to two.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passwords
ModifyUserRequest.Builder passwords(String... passwords)
The passwords belonging to the user. You are allowed up to two.
- Parameters:
passwords
- The passwords belonging to the user. You are allowed up to two.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noPasswordRequired
ModifyUserRequest.Builder noPasswordRequired(Boolean noPasswordRequired)
Indicates no password is required for the user.
- Parameters:
noPasswordRequired
- Indicates no password is required for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationMode
ModifyUserRequest.Builder authenticationMode(AuthenticationMode authenticationMode)
Specifies how to authenticate the user.
- Parameters:
authenticationMode
- Specifies how to authenticate the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationMode
default ModifyUserRequest.Builder authenticationMode(Consumer<AuthenticationMode.Builder> authenticationMode)
Specifies how to authenticate the user.
This is a convenience method that creates an instance of theAuthenticationMode.Builder
avoiding the need to create one manually viaAuthenticationMode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthenticationMode(AuthenticationMode)
.- Parameters:
authenticationMode
- a consumer that will call methods onAuthenticationMode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
authenticationMode(AuthenticationMode)
-
overrideConfiguration
ModifyUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-