Interface CreateUserResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateUserResponse.Builder,CreateUserResponse>,ElastiCacheResponse.Builder,SdkBuilder<CreateUserResponse.Builder,CreateUserResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateUserResponse
@Mutable @NotThreadSafe public static interface CreateUserResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<CreateUserResponse.Builder,CreateUserResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateUserResponse.BuilderaccessString(String accessString)Access permissions string used for this user.CreateUserResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the user.default CreateUserResponse.Builderauthentication(Consumer<Authentication.Builder> authentication)Denotes whether the user requires a password to authenticate.CreateUserResponse.Builderauthentication(Authentication authentication)Denotes whether the user requires a password to authenticate.CreateUserResponse.Builderengine(String engine)The options are valkey or redis.CreateUserResponse.BuilderminimumEngineVersion(String minimumEngineVersion)The minimum engine version required, which is Redis OSS 6.0CreateUserResponse.Builderstatus(String status)Indicates the user status.CreateUserResponse.BuilderuserGroupIds(String... userGroupIds)Returns a list of the user group IDs the user belongs to.CreateUserResponse.BuilderuserGroupIds(Collection<String> userGroupIds)Returns a list of the user group IDs the user belongs to.CreateUserResponse.BuilderuserId(String userId)The ID of the user.CreateUserResponse.BuilderuserName(String userName)The username of the user.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
userId
CreateUserResponse.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.
-
userName
CreateUserResponse.Builder userName(String userName)
The username of the user.
- Parameters:
userName- The username of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreateUserResponse.Builder status(String status)
Indicates the user status. Can be "active", "modifying" or "deleting".
- Parameters:
status- Indicates the user status. Can be "active", "modifying" or "deleting".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
CreateUserResponse.Builder engine(String engine)
The options are valkey or redis.
- Parameters:
engine- The options are valkey or redis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimumEngineVersion
CreateUserResponse.Builder minimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis OSS 6.0
- Parameters:
minimumEngineVersion- The minimum engine version required, which is Redis OSS 6.0- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessString
CreateUserResponse.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.
-
userGroupIds
CreateUserResponse.Builder userGroupIds(Collection<String> userGroupIds)
Returns a list of the user group IDs the user belongs to.
- Parameters:
userGroupIds- Returns a list of the user group IDs the user belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroupIds
CreateUserResponse.Builder userGroupIds(String... userGroupIds)
Returns a list of the user group IDs the user belongs to.
- Parameters:
userGroupIds- Returns a list of the user group IDs the user belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
CreateUserResponse.Builder authentication(Authentication authentication)
Denotes whether the user requires a password to authenticate.
- Parameters:
authentication- Denotes whether the user requires a password to authenticate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default CreateUserResponse.Builder authentication(Consumer<Authentication.Builder> authentication)
Denotes whether the user requires a password to authenticate.
This is a convenience method that creates an instance of theAuthentication.Builderavoiding the need to create one manually viaAuthentication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthentication(Authentication).- Parameters:
authentication- a consumer that will call methods onAuthentication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
authentication(Authentication)
-
arn
CreateUserResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the user.
- Parameters:
arn- The Amazon Resource Name (ARN) of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-