Class ClusterEngineConfig.Builder
java.lang.Object
software.amazon.awscdk.services.rds.ClusterEngineConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterEngineConfig>
- Enclosing interface:
ClusterEngineConfig
@Stability(Stable)
public static final class ClusterEngineConfig.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterEngineConfig>
A builder for
ClusterEngineConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.features(ClusterEngineFeatures features) Sets the value ofClusterEngineConfig.getFeatures()parameterGroup(IParameterGroup parameterGroup) Sets the value ofClusterEngineConfig.getParameterGroup()Sets the value ofClusterEngineConfig.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
features
Sets the value ofClusterEngineConfig.getFeatures()- Parameters:
features- Features supported by the database engine.- Returns:
this
-
parameterGroup
@Stability(Stable) public ClusterEngineConfig.Builder parameterGroup(IParameterGroup parameterGroup) Sets the value ofClusterEngineConfig.getParameterGroup()- Parameters:
parameterGroup- The ParameterGroup to use for the cluster.- Returns:
this
-
port
Sets the value ofClusterEngineConfig.getPort()- Parameters:
port- The port to use for this cluster, unless the customer specified the port directly.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClusterEngineConfig>- Returns:
- a new instance of
ClusterEngineConfig - Throws:
NullPointerException- if any required attribute was not provided
-