Interface ModifyDataMigrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyDataMigrationRequest.Builder,
,ModifyDataMigrationRequest> DatabaseMigrationRequest.Builder
,SdkBuilder<ModifyDataMigrationRequest.Builder,
,ModifyDataMigrationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyDataMigrationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataMigrationIdentifier
(String dataMigrationIdentifier) The identifier (name or ARN) of the data migration to modify.dataMigrationName
(String dataMigrationName) The new name for the data migration.dataMigrationType
(String dataMigrationType) The new migration type for the data migration.dataMigrationType
(MigrationTypeValue dataMigrationType) The new migration type for the data migration.enableCloudwatchLogs
(Boolean enableCloudwatchLogs) Whether to enable Cloudwatch logs for the data migration.numberOfJobs
(Integer numberOfJobs) The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.selectionRules
(String selectionRules) A JSON-formatted string that defines what objects to include and exclude from the migration.serviceAccessRoleArn
(String serviceAccessRoleArn) The new service access role ARN for the data migration.sourceDataSettings
(Collection<SourceDataSetting> sourceDataSettings) The new information about the source data provider for the data migration.sourceDataSettings
(Consumer<SourceDataSetting.Builder>... sourceDataSettings) The new information about the source data provider for the data migration.sourceDataSettings
(SourceDataSetting... sourceDataSettings) The new information about the source data provider for the data migration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dataMigrationIdentifier
The identifier (name or ARN) of the data migration to modify.
- Parameters:
dataMigrationIdentifier
- The identifier (name or ARN) of the data migration to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationName
The new name for the data migration.
- Parameters:
dataMigrationName
- The new name for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableCloudwatchLogs
Whether to enable Cloudwatch logs for the data migration.
- Parameters:
enableCloudwatchLogs
- Whether to enable Cloudwatch logs for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccessRoleArn
The new service access role ARN for the data migration.
- Parameters:
serviceAccessRoleArn
- The new service access role ARN for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationType
The new migration type for the data migration.
- Parameters:
dataMigrationType
- The new migration type for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataMigrationType
The new migration type for the data migration.
- Parameters:
dataMigrationType
- The new migration type for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceDataSettings
ModifyDataMigrationRequest.Builder sourceDataSettings(Collection<SourceDataSetting> sourceDataSettings) The new information about the source data provider for the data migration.
- Parameters:
sourceDataSettings
- The new information about the source data provider for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataSettings
The new information about the source data provider for the data migration.
- Parameters:
sourceDataSettings
- The new information about the source data provider for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataSettings
ModifyDataMigrationRequest.Builder sourceDataSettings(Consumer<SourceDataSetting.Builder>... sourceDataSettings) The new information about the source data provider for the data migration.
This is a convenience method that creates an instance of theSourceDataSetting.Builder
avoiding the need to create one manually viaSourceDataSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceDataSettings(List<SourceDataSetting>)
.- Parameters:
sourceDataSettings
- a consumer that will call methods onSourceDataSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberOfJobs
The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
selectionRules
A JSON-formatted string that defines what objects to include and exclude from the migration.
- Parameters:
selectionRules
- A JSON-formatted string that defines what objects to include and exclude from the migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyDataMigrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyDataMigrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-