Class AuroraMysqlClusterEngineProps.Builder
java.lang.Object
software.amazon.awscdk.services.rds.AuroraMysqlClusterEngineProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AuroraMysqlClusterEngineProps>
- Enclosing interface:
AuroraMysqlClusterEngineProps
@Stability(Stable)
public static final class AuroraMysqlClusterEngineProps.Builder
extends Object
implements software.amazon.jsii.Builder<AuroraMysqlClusterEngineProps>
A builder for
AuroraMysqlClusterEngineProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.version
(AuroraMysqlEngineVersion version) Sets the value ofAuroraMysqlClusterEngineProps.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
version
@Stability(Stable) public AuroraMysqlClusterEngineProps.Builder version(AuroraMysqlEngineVersion version) Sets the value ofAuroraMysqlClusterEngineProps.getVersion()
- Parameters:
version
- The version of the Aurora MySQL cluster engine. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AuroraMysqlClusterEngineProps>
- Returns:
- a new instance of
AuroraMysqlClusterEngineProps
- Throws:
NullPointerException
- if any required attribute was not provided
-