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