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.Builder
The current supported values are valkey and redis.The list of tags.userGroupId
(String userGroupId) The ID of the user group.The list of user IDs that belong to the user group.
-
Method Details
-
create
@Stability(Stable) public static CfnUserGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnUserGroup.Builder
.
-
engine
The current supported values are valkey and redis.- Parameters:
engine
- The current supported values are valkey and redis. This parameter is required.- Returns:
this
- See Also:
-
userGroupId
The ID of the user group.- Parameters:
userGroupId
- The ID of the user group. This parameter is required.- Returns:
this
- See Also:
-
userIds
The list of user IDs that belong to the user group.A user named
default
must be included.- Parameters:
userIds
- The list of user IDs that belong to the user group. This parameter is required.- Returns:
this
- See Also:
-
tags
The list of tags.- Parameters:
tags
- The list of tags. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserGroup>
- Returns:
- a newly built instance of
CfnUserGroup
.
-