Class EngineVersion.Builder
java.lang.Object
software.amazon.awscdk.services.rds.EngineVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EngineVersion>
- Enclosing interface:
- EngineVersion
@Stability(Stable)
public static final class EngineVersion.Builder
extends Object
implements software.amazon.jsii.Builder<EngineVersion>
A builder for
EngineVersion-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fullVersion(String fullVersion) Sets the value ofEngineVersion.getFullVersion()majorVersion(String majorVersion) Sets the value ofEngineVersion.getMajorVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
majorVersion
Sets the value ofEngineVersion.getMajorVersion()- Parameters:
majorVersion- The major version of the engine, for example, "5.6". Used in specifying the ParameterGroup family and OptionGroup version for this engine. This parameter is required.- Returns:
this
-
fullVersion
Sets the value ofEngineVersion.getFullVersion()- Parameters:
fullVersion- The full version string of the engine, for example, "5.6.mysql_aurora.1.22.1". It can be undefined, which means RDS should use whatever version it deems appropriate for the given engine type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EngineVersion>- Returns:
- a new instance of
EngineVersion - Throws:
NullPointerException- if any required attribute was not provided
-