Class CfnUserGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnUserGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserGroupMixinProps>
- Enclosing interface:
CfnUserGroupMixinProps
@Stability(Stable)
public static final class CfnUserGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserGroupMixinProps>
A builder for
CfnUserGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserGroupMixinProps.getEngine()Sets the value ofCfnUserGroupMixinProps.getTags()userGroupId(String userGroupId) Sets the value ofCfnUserGroupMixinProps.getUserGroupId()Sets the value ofCfnUserGroupMixinProps.getUserIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
engine
Sets the value ofCfnUserGroupMixinProps.getEngine()- Parameters:
engine- The current supported values are valkey and redis.- Returns:
this
-
tags
Sets the value ofCfnUserGroupMixinProps.getTags()- Parameters:
tags- The list of tags.- Returns:
this
-
userGroupId
Sets the value ofCfnUserGroupMixinProps.getUserGroupId()- Parameters:
userGroupId- The ID of the user group.- Returns:
this
-
userIds
Sets the value ofCfnUserGroupMixinProps.getUserIds()- Parameters:
userIds- The list of user IDs that belong to the user group. A user nameddefaultmust be included.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserGroupMixinProps>- Returns:
- a new instance of
CfnUserGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-