Class CfnDataMigration.DataMigrationSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dms.CfnDataMigration.DataMigrationSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataMigration.DataMigrationSettingsProperty>
- Enclosing interface:
CfnDataMigration.DataMigrationSettingsProperty
@Stability(Stable)
public static final class CfnDataMigration.DataMigrationSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataMigration.DataMigrationSettingsProperty>
A builder for
CfnDataMigration.DataMigrationSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudwatchLogsEnabled
(Boolean cloudwatchLogsEnabled) cloudwatchLogsEnabled
(IResolvable cloudwatchLogsEnabled) numberOfJobs
(Number numberOfJobs) Sets the value ofCfnDataMigration.DataMigrationSettingsProperty.getNumberOfJobs()
selectionRules
(String selectionRules) Sets the value ofCfnDataMigration.DataMigrationSettingsProperty.getSelectionRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudwatchLogsEnabled
@Stability(Stable) public CfnDataMigration.DataMigrationSettingsProperty.Builder cloudwatchLogsEnabled(Boolean cloudwatchLogsEnabled) - Parameters:
cloudwatchLogsEnabled
- Whether to enable CloudWatch logging for the data migration.- Returns:
this
-
cloudwatchLogsEnabled
@Stability(Stable) public CfnDataMigration.DataMigrationSettingsProperty.Builder cloudwatchLogsEnabled(IResolvable cloudwatchLogsEnabled) - Parameters:
cloudwatchLogsEnabled
- Whether to enable CloudWatch logging for the data migration.- Returns:
this
-
numberOfJobs
@Stability(Stable) public CfnDataMigration.DataMigrationSettingsProperty.Builder numberOfJobs(Number numberOfJobs) Sets the value ofCfnDataMigration.DataMigrationSettingsProperty.getNumberOfJobs()
- Parameters:
numberOfJobs
- The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.- Returns:
this
-
selectionRules
@Stability(Stable) public CfnDataMigration.DataMigrationSettingsProperty.Builder selectionRules(String selectionRules) Sets the value ofCfnDataMigration.DataMigrationSettingsProperty.getSelectionRules()
- Parameters:
selectionRules
- A JSON-formatted string that defines what objects to include and exclude from the migration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataMigration.DataMigrationSettingsProperty>
- Returns:
- a new instance of
CfnDataMigration.DataMigrationSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-