Class UserGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.alpha.UserGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UserGroupProps>
- Enclosing interface:
UserGroupProps
@Stability(Experimental)
public static final class UserGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<UserGroupProps>
A builder for
UserGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.engine(UserEngine engine) Sets the value ofUserGroupProps.getEngine()userGroupName(String userGroupName) Sets the value ofUserGroupProps.getUserGroupName()Sets the value ofUserGroupProps.getUsers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
engine
Sets the value ofUserGroupProps.getEngine()- Parameters:
engine- The engine type for the user group Enum options: UserEngine.VALKEY, UserEngine.REDIS.- Returns:
this
-
userGroupName
Sets the value ofUserGroupProps.getUserGroupName()- Parameters:
userGroupName- Enforces a particular physical user group name.- Returns:
this
-
users
Sets the value ofUserGroupProps.getUsers()- Parameters:
users- List of users inside the user group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<UserGroupProps>- Returns:
- a new instance of
UserGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-