Class InstanceEngineConfig.Builder
java.lang.Object
software.amazon.awscdk.services.rds.InstanceEngineConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEngineConfig>
- Enclosing interface:
InstanceEngineConfig
@Stability(Stable)
public static final class InstanceEngineConfig.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEngineConfig>
A builder for
InstanceEngineConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.features
(InstanceEngineFeatures features) Sets the value ofInstanceEngineConfig.getFeatures()
optionGroup
(IOptionGroup optionGroup) Sets the value ofInstanceEngineConfig.getOptionGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
features
Sets the value ofInstanceEngineConfig.getFeatures()
- Parameters:
features
- Features supported by the database engine.- Returns:
this
-
optionGroup
Sets the value ofInstanceEngineConfig.getOptionGroup()
- Parameters:
optionGroup
- Option group of the database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<InstanceEngineConfig>
- Returns:
- a new instance of
InstanceEngineConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-