Class ClusterEngineFeatures.Builder
java.lang.Object
software.amazon.awscdk.services.rds.ClusterEngineFeatures.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterEngineFeatures>
- Enclosing interface:
ClusterEngineFeatures
@Stability(Stable)
public static final class ClusterEngineFeatures.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterEngineFeatures>
A builder for
ClusterEngineFeatures-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofClusterEngineFeatures.getS3Export()Sets the value ofClusterEngineFeatures.getS3Import()serverlessV2AutoPauseSupported(Boolean serverlessV2AutoPauseSupported) Sets the value ofClusterEngineFeatures.getServerlessV2AutoPauseSupported()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Export
Sets the value ofClusterEngineFeatures.getS3Export()- Parameters:
s3Export- Feature name for the DB instance that the IAM role to export to S3 bucket is to be associated with.- Returns:
this
-
s3Import
Sets the value ofClusterEngineFeatures.getS3Import()- Parameters:
s3Import- Feature name for the DB instance that the IAM role to access the S3 bucket for import is to be associated with.- Returns:
this
-
serverlessV2AutoPauseSupported
@Stability(Stable) public ClusterEngineFeatures.Builder serverlessV2AutoPauseSupported(Boolean serverlessV2AutoPauseSupported) Sets the value ofClusterEngineFeatures.getServerlessV2AutoPauseSupported()- Parameters:
serverlessV2AutoPauseSupported- Whether the DB cluster engine supports the Aurora ServerlessV2 auto-pause feature.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClusterEngineFeatures>- Returns:
- a new instance of
ClusterEngineFeatures - Throws:
NullPointerException- if any required attribute was not provided
-