Class CfnUserGroup.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.CfnUserGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserGroup>
- Enclosing class:
- CfnUserGroup
@Stability(Stable)
public static final class CfnUserGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserGroup>
A fluent builder for
CfnUserGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnUserGroup.BuilderThe current supported value is redis.AWS::ElastiCache::UserGroup.Tags.userGroupId(String userGroupId) The ID of the user group.The list of user IDs that belong to the user group.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnUserGroup.Builder.
-
engine
The current supported value is redis.- Parameters:
engine- The current supported value is redis. This parameter is required.- Returns:
this
-
userGroupId
The ID of the user group.- Parameters:
userGroupId- The ID of the user group. This parameter is required.- Returns:
this
-
userIds
The list of user IDs that belong to the user group.A user named
defaultmust be included.- Parameters:
userIds- The list of user IDs that belong to the user group. This parameter is required.- Returns:
this
-
tags
AWS::ElastiCache::UserGroup.Tags.- Parameters:
tags-AWS::ElastiCache::UserGroup.Tags. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserGroup>- Returns:
- a newly built instance of
CfnUserGroup.
-