Class CfnParameterGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.memorydb.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnParameterGroupProps.getDescription()Sets the value ofCfnParameterGroupProps.getFamily()parameterGroupName(String parameterGroupName) Sets the value ofCfnParameterGroupProps.getParameterGroupName()parameters(Object parameters) Sets the value ofCfnParameterGroupProps.getParameters()Sets the value ofCfnParameterGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
family
Sets the value ofCfnParameterGroupProps.getFamily()- Parameters:
family- The name of the parameter group family that this parameter group is compatible with. This parameter is required.- Returns:
this
-
parameterGroupName
@Stability(Stable) public CfnParameterGroupProps.Builder parameterGroupName(String parameterGroupName) Sets the value ofCfnParameterGroupProps.getParameterGroupName()- Parameters:
parameterGroupName- The name of the parameter group. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnParameterGroupProps.getDescription()- Parameters:
description- A description of the parameter group.- Returns:
this
-
parameters
Sets the value ofCfnParameterGroupProps.getParameters()- Parameters:
parameters- Returns the detailed parameter list for the parameter group.- Returns:
this
-
tags
Sets the value ofCfnParameterGroupProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnParameterGroupProps>- Returns:
- a new instance of
CfnParameterGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-