Class CfnDBClusterParameterGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.docdb.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- The description for the cluster parameter group. This parameter is required.- Returns:
this
-
family
Sets the value ofCfnDBClusterParameterGroupProps.getFamily()- Parameters:
family- The cluster parameter group family name. This parameter is required.- Returns:
this
-
parameters
Sets the value ofCfnDBClusterParameterGroupProps.getParameters()- Parameters:
parameters- Provides a list of parameters for the cluster parameter group. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDBClusterParameterGroupProps.getName()- Parameters:
name- The name of the DB cluster parameter group. Constraints:- Must not match the name of an existing
DBClusterParameterGroup.
This value is stored as a lowercase string.
- Must not match the name of an existing
- Returns:
this
-
tags
Sets the value ofCfnDBClusterParameterGroupProps.getTags()- Parameters:
tags- The tags to be assigned to the cluster 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
-