Class CfnParameterGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.dax.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.description
(String description) Sets the value ofCfnParameterGroupProps.getDescription()
parameterGroupName
(String parameterGroupName) Sets the value ofCfnParameterGroupProps.getParameterGroupName()
parameterNameValues
(Object parameterNameValues) Sets the value ofCfnParameterGroupProps.getParameterNameValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnParameterGroupProps.getDescription()
- Parameters:
description
- A description of the parameter group.- Returns:
this
-
parameterGroupName
@Stability(Stable) public CfnParameterGroupProps.Builder parameterGroupName(String parameterGroupName) Sets the value ofCfnParameterGroupProps.getParameterGroupName()
- Parameters:
parameterGroupName
- The name of the parameter group.- Returns:
this
-
parameterNameValues
@Stability(Stable) public CfnParameterGroupProps.Builder parameterNameValues(Object parameterNameValues) Sets the value ofCfnParameterGroupProps.getParameterNameValues()
- Parameters:
parameterNameValues
- An array of name-value pairs for the parameters in the group. Each element in the array represents a single parameter.record-ttl-millis
andquery-ttl-millis
are the only supported parameter names. For more details, see Configuring TTL Settings .- 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
-