Interface CreateDataMigrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDataMigrationRequest.Builder,
,CreateDataMigrationRequest> DatabaseMigrationRequest.Builder
,SdkBuilder<CreateDataMigrationRequest.Builder,
,CreateDataMigrationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDataMigrationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataMigrationName
(String dataMigrationName) A user-friendly name for the data migration.dataMigrationType
(String dataMigrationType) Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.dataMigrationType
(MigrationTypeValue dataMigrationType) Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.enableCloudwatchLogs
(Boolean enableCloudwatchLogs) Specifies whether to enable CloudWatch logs for the data migration.migrationProjectIdentifier
(String migrationProjectIdentifier) An identifier for the migration project.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) An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.serviceAccessRoleArn
(String serviceAccessRoleArn) The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.sourceDataSettings
(Collection<SourceDataSetting> sourceDataSettings) Specifies information about the source data provider.sourceDataSettings
(Consumer<SourceDataSetting.Builder>... sourceDataSettings) Specifies information about the source data provider.sourceDataSettings
(SourceDataSetting... sourceDataSettings) Specifies information about the source data provider.tags
(Collection<Tag> tags) One or more tags to be assigned to the data migration.tags
(Consumer<Tag.Builder>... tags) One or more tags to be assigned to the data migration.One or more tags to be assigned to the data migration.targetDataSettings
(Collection<TargetDataSetting> targetDataSettings) Specifies information about the target data provider.targetDataSettings
(Consumer<TargetDataSetting.Builder>... targetDataSettings) Specifies information about the target data provider.targetDataSettings
(TargetDataSetting... targetDataSettings) Specifies information about the target data provider.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, sdkFieldNameToField, sdkFields
-
Method Details
-
dataMigrationName
A user-friendly name for the data migration. Data migration names have the following constraints:
-
Must begin with a letter, and can only contain ASCII letters, digits, and hyphens.
-
Can't end with a hyphen or contain two consecutive hyphens.
-
Length must be from 1 to 255 characters.
- Parameters:
dataMigrationName
- A user-friendly name for the data migration. Data migration names have the following constraints:-
Must begin with a letter, and can only contain ASCII letters, digits, and hyphens.
-
Can't end with a hyphen or contain two consecutive hyphens.
-
Length must be from 1 to 255 characters.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
migrationProjectIdentifier
An identifier for the migration project.
- Parameters:
migrationProjectIdentifier
- An identifier for the migration project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationType
Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
- Parameters:
dataMigrationType
- Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataMigrationType
Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
- Parameters:
dataMigrationType
- Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceAccessRoleArn
The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.
- Parameters:
serviceAccessRoleArn
- The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableCloudwatchLogs
Specifies whether to enable CloudWatch logs for the data migration.
- Parameters:
enableCloudwatchLogs
- Specifies whether to enable CloudWatch logs for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataSettings
CreateDataMigrationRequest.Builder sourceDataSettings(Collection<SourceDataSetting> sourceDataSettings) Specifies information about the source data provider.
- Parameters:
sourceDataSettings
- Specifies information about the source data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataSettings
Specifies information about the source data provider.
- Parameters:
sourceDataSettings
- Specifies information about the source data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataSettings
CreateDataMigrationRequest.Builder sourceDataSettings(Consumer<SourceDataSetting.Builder>... sourceDataSettings) Specifies information about the source data provider.
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:
-
targetDataSettings
CreateDataMigrationRequest.Builder targetDataSettings(Collection<TargetDataSetting> targetDataSettings) Specifies information about the target data provider.
- Parameters:
targetDataSettings
- Specifies information about the target data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataSettings
Specifies information about the target data provider.
- Parameters:
targetDataSettings
- Specifies information about the target data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataSettings
CreateDataMigrationRequest.Builder targetDataSettings(Consumer<TargetDataSetting.Builder>... targetDataSettings) Specifies information about the target data provider.
This is a convenience method that creates an instance of theTargetDataSetting.Builder
avoiding the need to create one manually viaTargetDataSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetDataSettings(List<TargetDataSetting>)
.- Parameters:
targetDataSettings
- a consumer that will call methods onTargetDataSetting.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.
-
tags
One or more tags to be assigned to the data migration.
- Parameters:
tags
- One or more tags to be assigned to the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
One or more tags to be assigned to the data migration.
- Parameters:
tags
- One or more tags to be assigned to the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
One or more tags to be assigned to the data migration.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selectionRules
An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.
- Parameters:
selectionRules
- An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDataMigrationRequest.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
CreateDataMigrationRequest.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.
-