Class ClusterEngineBindOptions.Builder
java.lang.Object
software.amazon.awscdk.services.rds.ClusterEngineBindOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterEngineBindOptions>
- Enclosing interface:
- ClusterEngineBindOptions
@Stability(Stable)
public static final class ClusterEngineBindOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterEngineBindOptions>
A builder for
ClusterEngineBindOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.parameterGroup
(IParameterGroup parameterGroup) Sets the value ofClusterEngineBindOptions.getParameterGroup()
s3ExportRole
(IRole s3ExportRole) Sets the value ofClusterEngineBindOptions.getS3ExportRole()
s3ImportRole
(IRole s3ImportRole) Sets the value ofClusterEngineBindOptions.getS3ImportRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parameterGroup
@Stability(Stable) public ClusterEngineBindOptions.Builder parameterGroup(IParameterGroup parameterGroup) Sets the value ofClusterEngineBindOptions.getParameterGroup()
- Parameters:
parameterGroup
- The customer-provided ParameterGroup.- Returns:
this
-
s3ExportRole
Sets the value ofClusterEngineBindOptions.getS3ExportRole()
- Parameters:
s3ExportRole
- The role used for S3 exporting.- Returns:
this
-
s3ImportRole
Sets the value ofClusterEngineBindOptions.getS3ImportRole()
- Parameters:
s3ImportRole
- The role used for S3 importing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ClusterEngineBindOptions>
- Returns:
- a new instance of
ClusterEngineBindOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-