Class CfnDBClusterParameterGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.neptune.CfnDBClusterParameterGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBClusterParameterGroupMixinProps>
- Enclosing interface:
CfnDBClusterParameterGroupMixinProps
@Stability(Stable)
public static final class CfnDBClusterParameterGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBClusterParameterGroupMixinProps>
A builder for
CfnDBClusterParameterGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDBClusterParameterGroupMixinProps.getDescription()Sets the value ofCfnDBClusterParameterGroupMixinProps.getFamily()Sets the value ofCfnDBClusterParameterGroupMixinProps.getName()parameters(Object parameters) Sets the value ofCfnDBClusterParameterGroupMixinProps.getParameters()Sets the value ofCfnDBClusterParameterGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnDBClusterParameterGroupMixinProps.Builder description(String description) Sets the value ofCfnDBClusterParameterGroupMixinProps.getDescription()- Parameters:
description- Provides the customer-specified description for this DB cluster parameter group.- Returns:
this
-
family
Sets the value ofCfnDBClusterParameterGroupMixinProps.getFamily()- Parameters:
family- Must beneptune1for engine versions prior to 1.2.0.0 , orneptune1.2for engine version1.2.0.0and higher.- Returns:
this
-
name
Sets the value ofCfnDBClusterParameterGroupMixinProps.getName()- Parameters:
name- Provides the name of the DB cluster parameter group.- Returns:
this
-
parameters
@Stability(Stable) public CfnDBClusterParameterGroupMixinProps.Builder parameters(Object parameters) Sets the value ofCfnDBClusterParameterGroupMixinProps.getParameters()- Parameters:
parameters- The parameters to set for this DB cluster parameter group. 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
-
tags
@Stability(Stable) public CfnDBClusterParameterGroupMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnDBClusterParameterGroupMixinProps.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<CfnDBClusterParameterGroupMixinProps>- Returns:
- a new instance of
CfnDBClusterParameterGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-