Class CfnParameterGroup.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.CfnParameterGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnParameterGroup>
- Enclosing class:
- CfnParameterGroup
@Stability(Stable)
public static final class CfnParameterGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnParameterGroup>
A fluent builder for
CfnParameterGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()cacheParameterGroupFamily(String cacheParameterGroupFamily) The name of the cache parameter group family that this cache parameter group is compatible with.static CfnParameterGroup.Builderdescription(String description) The description for this cache parameter group.properties(Map<String, String> properties) A comma-delimited list of parameter name/value pairs.properties(IResolvable properties) A comma-delimited list of parameter name/value pairs.A tag that can be added to an ElastiCache parameter group.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnParameterGroup.Builder.
-
cacheParameterGroupFamily
@Stability(Stable) public CfnParameterGroup.Builder cacheParameterGroupFamily(String cacheParameterGroupFamily) The name of the cache parameter group family that this cache parameter group is compatible with.Valid values are:
memcached1.4|memcached1.5|memcached1.6|redis2.6|redis2.8|redis3.2|redis4.0|redis5.0|redis6.x|redis7- Parameters:
cacheParameterGroupFamily- The name of the cache parameter group family that this cache parameter group is compatible with. This parameter is required.- Returns:
this
-
description
The description for this cache parameter group.- Parameters:
description- The description for this cache parameter group. This parameter is required.- Returns:
this
-
properties
A comma-delimited list of parameter name/value pairs.For example:
"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02" }- Parameters:
properties- A comma-delimited list of parameter name/value pairs. This parameter is required.- Returns:
this
-
properties
A comma-delimited list of parameter name/value pairs.For example:
"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02" }- Parameters:
properties- A comma-delimited list of parameter name/value pairs. This parameter is required.- Returns:
this
-
tags
A tag that can be added to an ElastiCache parameter group.Tags are composed of a Key/Value pair. You can use tags to categorize and track all your parameter groups. A tag with a null Value is permitted.
- Parameters:
tags- A tag that can be added to an ElastiCache parameter group. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnParameterGroup>- Returns:
- a newly built instance of
CfnParameterGroup.
-