Class NoPasswordUser.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.alpha.NoPasswordUser.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NoPasswordUser>
- Enclosing class:
NoPasswordUser
@Stability(Experimental)
public static final class NoPasswordUser.Builder
extends Object
implements software.amazon.jsii.Builder<NoPasswordUser>
(experimental) A fluent builder for
NoPasswordUser
.-
Method Summary
Modifier and TypeMethodDescriptionaccessControl
(AccessControl accessControl) (experimental) Access control configuration for the user.build()
static NoPasswordUser.Builder
engine
(UserEngine engine) (experimental) The engine type for the user.(experimental) The ID of the user.(experimental) The name of the user.
-
Method Details
-
create
@Stability(Experimental) public static NoPasswordUser.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
NoPasswordUser.Builder
.
-
accessControl
(experimental) Access control configuration for the user.- Parameters:
accessControl
- Access control configuration for the user. This parameter is required.- Returns:
this
-
userId
(experimental) The ID of the user.- Parameters:
userId
- The ID of the user. This parameter is required.- Returns:
this
-
engine
(experimental) The engine type for the user.Enum options: UserEngine.VALKEY, UserEngine.REDIS.
Default: UserEngine.VALKEY.
- Parameters:
engine
- The engine type for the user. This parameter is required.- Returns:
this
-
userName
(experimental) The name of the user.Default: - Same as userId.
- Parameters:
userName
- The name of the user. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NoPasswordUser>
- Returns:
- a newly built instance of
NoPasswordUser
.
-