public static interface CreateUserRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateUserRequest.Builder userId(String userId)
The ID of the user.
userId - The ID of the user.CreateUserRequest.Builder userName(String userName)
The username of the user.
userName - The username of the user.CreateUserRequest.Builder engine(String engine)
The current supported value is Redis.
engine - The current supported value is Redis.CreateUserRequest.Builder passwords(Collection<String> passwords)
Passwords used for this user. You can create up to two passwords for each user.
passwords - Passwords used for this user. You can create up to two passwords for each user.CreateUserRequest.Builder passwords(String... passwords)
Passwords used for this user. You can create up to two passwords for each user.
passwords - Passwords used for this user. You can create up to two passwords for each user.CreateUserRequest.Builder accessString(String accessString)
Access permissions string used for this user.
accessString - Access permissions string used for this user.CreateUserRequest.Builder noPasswordRequired(Boolean noPasswordRequired)
Indicates a password is not required for this user.
noPasswordRequired - Indicates a password is not required for this user.CreateUserRequest.Builder tags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied
by a tag value, although null is accepted.CreateUserRequest.Builder tags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied
by a tag value, although null is accepted.CreateUserRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateUserRequest.Builder authenticationMode(AuthenticationMode authenticationMode)
Specifies how to authenticate the user.
authenticationMode - Specifies how to authenticate the user.default CreateUserRequest.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 via AuthenticationMode.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to authenticationMode(AuthenticationMode).
authenticationMode - a consumer that will call methods on AuthenticationMode.BuilderauthenticationMode(AuthenticationMode)CreateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.