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