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
Modifier and TypeMethodDescriptionaccessString
(String accessString) Access permissions string used for this user.appendAccessString
(String appendAccessString) Adds additional user permissions to the access string.default ModifyUserRequest.Builder
authenticationMode
(Consumer<AuthenticationMode.Builder> authenticationMode) Specifies how to authenticate the user.authenticationMode
(AuthenticationMode authenticationMode) Specifies how to authenticate the user.noPasswordRequired
(Boolean noPasswordRequired) Indicates no password is required for the user.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The passwords belonging to the user.passwords
(Collection<String> passwords) The passwords belonging to the user.The ID of the user.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 Details
-
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
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
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
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
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
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
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:
-
overrideConfiguration
ModifyUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-