Class CfnParameterGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.CfnParameterGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnParameterGroupProps>
- Enclosing interface:
CfnParameterGroupProps
@Stability(Stable)
public static final class CfnParameterGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnParameterGroupProps>
A builder for
CfnParameterGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cacheParameterGroupFamily
(String cacheParameterGroupFamily) Sets the value ofCfnParameterGroupProps.getCacheParameterGroupFamily()
description
(String description) Sets the value ofCfnParameterGroupProps.getDescription()
properties
(Map<String, String> properties) Sets the value ofCfnParameterGroupProps.getProperties()
properties
(IResolvable properties) Sets the value ofCfnParameterGroupProps.getProperties()
Sets the value ofCfnParameterGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cacheParameterGroupFamily
@Stability(Stable) public CfnParameterGroupProps.Builder cacheParameterGroupFamily(String cacheParameterGroupFamily) Sets the value ofCfnParameterGroupProps.getCacheParameterGroupFamily()
- Parameters:
cacheParameterGroupFamily
- The name of the cache parameter group family that this cache parameter group is compatible with. This parameter is required. Valid values are:memcached1.4
|memcached1.5
|memcached1.6
|redis2.6
|redis2.8
|redis3.2
|redis4.0
|redis5.0
|redis6.x
|redis7
- Returns:
this
-
description
Sets the value ofCfnParameterGroupProps.getDescription()
- Parameters:
description
- The description for this cache parameter group. This parameter is required.- Returns:
this
-
properties
Sets the value ofCfnParameterGroupProps.getProperties()
- Parameters:
properties
- A comma-delimited list of parameter name/value pairs. For example:"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02" }
- Returns:
this
-
properties
Sets the value ofCfnParameterGroupProps.getProperties()
- Parameters:
properties
- A comma-delimited list of parameter name/value pairs. For example:"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02" }
- Returns:
this
-
tags
Sets the value ofCfnParameterGroupProps.getTags()
- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnParameterGroupProps>
- Returns:
- a new instance of
CfnParameterGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-