@Stability(value=Stable) public static final class CfnParameterGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnParameterGroup>
CfnParameterGroup.| Modifier and Type | Method and Description |
|---|---|
CfnParameterGroup |
build() |
CfnParameterGroup.Builder |
cacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the cache parameter group family that this cache parameter group is compatible with.
|
static CfnParameterGroup.Builder |
create(software.constructs.Construct scope,
String id) |
CfnParameterGroup.Builder |
description(String description)
The description for this cache parameter group.
|
CfnParameterGroup.Builder |
properties(IResolvable properties)
A comma-delimited list of parameter name/value pairs.
|
CfnParameterGroup.Builder |
properties(Map<String,String> properties)
A comma-delimited list of parameter name/value pairs.
|
CfnParameterGroup.Builder |
tags(List<? extends CfnTag> tags)
A tag that can be added to an ElastiCache parameter group.
|
@Stability(value=Stable) public static CfnParameterGroup.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnParameterGroup.Builder.@Stability(value=Stable) public CfnParameterGroup.Builder cacheParameterGroupFamily(String cacheParameterGroupFamily)
Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x
cacheParameterGroupFamily - The name of the cache parameter group family that this cache parameter group is compatible with. This parameter is required.this@Stability(value=Stable) public CfnParameterGroup.Builder description(String description)
description - The description for this cache parameter group. This parameter is required.this@Stability(value=Stable) public CfnParameterGroup.Builder properties(IResolvable properties)
For more information, see ModifyCacheParameterGroup in the Amazon ElastiCache API Reference Guide .
For example:
"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02"
}
properties - A comma-delimited list of parameter name/value pairs. This parameter is required.this@Stability(value=Stable) public CfnParameterGroup.Builder properties(Map<String,String> properties)
For more information, see ModifyCacheParameterGroup in the Amazon ElastiCache API Reference Guide .
For example:
"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02"
}
properties - A comma-delimited list of parameter name/value pairs. This parameter is required.this@Stability(value=Stable) public CfnParameterGroup.Builder tags(List<? extends CfnTag> tags)
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.
tags - A tag that can be added to an ElastiCache parameter group. This parameter is required.this@Stability(value=Stable) public CfnParameterGroup build()
build in interface software.amazon.jsii.Builder<CfnParameterGroup>Copyright © 2022. All rights reserved.