Class InstanceEngineBindOptions.Builder
java.lang.Object
software.amazon.awscdk.services.rds.InstanceEngineBindOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEngineBindOptions>
- Enclosing interface:
InstanceEngineBindOptions
@Stability(Stable)
public static final class InstanceEngineBindOptions.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEngineBindOptions>
A builder for
InstanceEngineBindOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofInstanceEngineBindOptions.getDomain()
optionGroup
(IOptionGroup optionGroup) Sets the value ofInstanceEngineBindOptions.getOptionGroup()
s3ExportRole
(IRole s3ExportRole) Sets the value ofInstanceEngineBindOptions.getS3ExportRole()
s3ImportRole
(IRole s3ImportRole) Sets the value ofInstanceEngineBindOptions.getS3ImportRole()
Sets the value ofInstanceEngineBindOptions.getTimezone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domain
Sets the value ofInstanceEngineBindOptions.getDomain()
- Parameters:
domain
- The Active Directory directory ID to create the DB instance in.- Returns:
this
-
optionGroup
Sets the value ofInstanceEngineBindOptions.getOptionGroup()
- Parameters:
optionGroup
- The option group of the database.- Returns:
this
-
s3ExportRole
Sets the value ofInstanceEngineBindOptions.getS3ExportRole()
- Parameters:
s3ExportRole
- The role used for S3 exporting.- Returns:
this
-
s3ImportRole
Sets the value ofInstanceEngineBindOptions.getS3ImportRole()
- Parameters:
s3ImportRole
- The role used for S3 importing.- Returns:
this
-
timezone
Sets the value ofInstanceEngineBindOptions.getTimezone()
- Parameters:
timezone
- The timezone of the database, set by the customer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<InstanceEngineBindOptions>
- Returns:
- a new instance of
InstanceEngineBindOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-