Class ClusterParameterGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.docdb.ClusterParameterGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterParameterGroupProps>
- Enclosing interface:
ClusterParameterGroupProps
@Stability(Stable)
public static final class ClusterParameterGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterParameterGroupProps>
A builder for
ClusterParameterGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dbClusterParameterGroupName
(String dbClusterParameterGroupName) Sets the value ofClusterParameterGroupProps.getDbClusterParameterGroupName()
description
(String description) Sets the value ofClusterParameterGroupProps.getDescription()
Sets the value ofClusterParameterGroupProps.getFamily()
parameters
(Map<String, String> parameters) Sets the value ofClusterParameterGroupProps.getParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
family
Sets the value ofClusterParameterGroupProps.getFamily()
- Parameters:
family
- Database family of this parameter group. This parameter is required.- Returns:
this
-
parameters
@Stability(Stable) public ClusterParameterGroupProps.Builder parameters(Map<String, String> parameters) Sets the value ofClusterParameterGroupProps.getParameters()
- Parameters:
parameters
- The parameters in this parameter group. This parameter is required.- Returns:
this
-
dbClusterParameterGroupName
@Stability(Stable) public ClusterParameterGroupProps.Builder dbClusterParameterGroupName(String dbClusterParameterGroupName) Sets the value ofClusterParameterGroupProps.getDbClusterParameterGroupName()
- Parameters:
dbClusterParameterGroupName
- The name of the cluster parameter group.- Returns:
this
-
description
Sets the value ofClusterParameterGroupProps.getDescription()
- Parameters:
description
- Description for this parameter group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ClusterParameterGroupProps>
- Returns:
- a new instance of
ClusterParameterGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-