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.Builder
description
(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
@Stability(Stable) public static CfnParameterGroup.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
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
- See Also:
-
description
The description for this cache parameter group.- Parameters:
description
- The description for this cache parameter group. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnParameterGroup>
- Returns:
- a newly built instance of
CfnParameterGroup
.
-