Class UserBaseProps.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.alpha.UserBaseProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UserBaseProps>
- Enclosing interface:
UserBaseProps
@Stability(Experimental)
public static final class UserBaseProps.Builder
extends Object
implements software.amazon.jsii.Builder<UserBaseProps>
A builder for
UserBaseProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessControl(AccessControl accessControl) Sets the value ofUserBaseProps.getAccessControl()build()Builds the configured instance.engine(UserEngine engine) Sets the value ofUserBaseProps.getEngine()Sets the value ofUserBaseProps.getUserId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessControl
Sets the value ofUserBaseProps.getAccessControl()- Parameters:
accessControl- Access control configuration for the user. This parameter is required.- Returns:
this
-
userId
Sets the value ofUserBaseProps.getUserId()- Parameters:
userId- The ID of the user. This parameter is required.- Returns:
this
-
engine
Sets the value ofUserBaseProps.getEngine()- Parameters:
engine- The engine type for the user. Enum options: UserEngine.VALKEY, UserEngine.REDIS.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<UserBaseProps>- Returns:
- a new instance of
UserBaseProps - Throws:
NullPointerException- if any required attribute was not provided
-