Class CfnDBClusterParameterGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.neptune.CfnDBClusterParameterGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBClusterParameterGroupProps>
- Enclosing interface:
CfnDBClusterParameterGroupProps
@Stability(Stable)
public static final class CfnDBClusterParameterGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBClusterParameterGroupProps>
A builder for
CfnDBClusterParameterGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDBClusterParameterGroupProps.getDescription()Sets the value ofCfnDBClusterParameterGroupProps.getFamily()Sets the value ofCfnDBClusterParameterGroupProps.getName()parameters(Object parameters) Sets the value ofCfnDBClusterParameterGroupProps.getParameters()Sets the value ofCfnDBClusterParameterGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnDBClusterParameterGroupProps.getDescription()- Parameters:
description- Provides the customer-specified description for this DB cluster parameter group. This parameter is required.- Returns:
this
-
family
Sets the value ofCfnDBClusterParameterGroupProps.getFamily()- Parameters:
family- Must beneptune1for engine versions prior to 1.2.0.0 , orneptune1.2for engine version1.2.0.0and higher. This parameter is required.- Returns:
this
-
parameters
Sets the value ofCfnDBClusterParameterGroupProps.getParameters()- Parameters:
parameters- The parameters to set for this DB cluster parameter group. This parameter is required. The parameters are expressed as a JSON object consisting of key-value pairs.If you update the parameters, some interruption may occur depending on which parameters you update.
- Returns:
this
-
name
Sets the value ofCfnDBClusterParameterGroupProps.getName()- Parameters:
name- Provides the name of the DB cluster parameter group.- Returns:
this
-
tags
Sets the value ofCfnDBClusterParameterGroupProps.getTags()- Parameters:
tags- The tags that you want to attach to this parameter group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBClusterParameterGroupProps>- Returns:
- a new instance of
CfnDBClusterParameterGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-