Interface CreateDataMigrationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDataMigrationRequest.Builder,CreateDataMigrationRequest>,DatabaseMigrationRequest.Builder,SdkBuilder<CreateDataMigrationRequest.Builder,CreateDataMigrationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDataMigrationRequest
@Mutable @NotThreadSafe public static interface CreateDataMigrationRequest.Builder extends DatabaseMigrationRequest.Builder, SdkPojo, CopyableBuilder<CreateDataMigrationRequest.Builder,CreateDataMigrationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDataMigrationRequest.BuilderdataMigrationName(String dataMigrationName)A user-friendly name for the data migration.CreateDataMigrationRequest.BuilderdataMigrationType(String dataMigrationType)Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.CreateDataMigrationRequest.BuilderdataMigrationType(MigrationTypeValue dataMigrationType)Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.CreateDataMigrationRequest.BuilderenableCloudwatchLogs(Boolean enableCloudwatchLogs)Specifies whether to enable CloudWatch logs for the data migration.CreateDataMigrationRequest.BuildermigrationProjectIdentifier(String migrationProjectIdentifier)An identifier for the migration project.CreateDataMigrationRequest.BuildernumberOfJobs(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.CreateDataMigrationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDataMigrationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDataMigrationRequest.BuilderselectionRules(String selectionRules)An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.CreateDataMigrationRequest.BuilderserviceAccessRoleArn(String serviceAccessRoleArn)The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.CreateDataMigrationRequest.BuildersourceDataSettings(Collection<SourceDataSetting> sourceDataSettings)Specifies information about the source data provider.CreateDataMigrationRequest.BuildersourceDataSettings(Consumer<SourceDataSetting.Builder>... sourceDataSettings)Specifies information about the source data provider.CreateDataMigrationRequest.BuildersourceDataSettings(SourceDataSetting... sourceDataSettings)Specifies information about the source data provider.CreateDataMigrationRequest.Buildertags(Collection<Tag> tags)One or more tags to be assigned to the data migration.CreateDataMigrationRequest.Buildertags(Consumer<Tag.Builder>... tags)One or more tags to be assigned to the data migration.CreateDataMigrationRequest.Buildertags(Tag... tags)One or more tags to be assigned to the data migration.CreateDataMigrationRequest.BuildertargetDataSettings(Collection<TargetDataSetting> targetDataSettings)Specifies information about the target data provider.CreateDataMigrationRequest.BuildertargetDataSettings(Consumer<TargetDataSetting.Builder>... targetDataSettings)Specifies information about the target data provider.CreateDataMigrationRequest.BuildertargetDataSettings(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 Detail
-
dataMigrationName
CreateDataMigrationRequest.Builder dataMigrationName(String 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
CreateDataMigrationRequest.Builder migrationProjectIdentifier(String 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
CreateDataMigrationRequest.Builder dataMigrationType(String 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:
MigrationTypeValue,MigrationTypeValue
-
dataMigrationType
CreateDataMigrationRequest.Builder dataMigrationType(MigrationTypeValue 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:
MigrationTypeValue,MigrationTypeValue
-
serviceAccessRoleArn
CreateDataMigrationRequest.Builder serviceAccessRoleArn(String 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
CreateDataMigrationRequest.Builder enableCloudwatchLogs(Boolean 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
CreateDataMigrationRequest.Builder sourceDataSettings(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
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.Builderavoiding the need to create one manually viaSourceDataSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sourceDataSettings(List.) - 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:
#sourceDataSettings(java.util.Collection)
-
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
CreateDataMigrationRequest.Builder targetDataSettings(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
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.Builderavoiding the need to create one manually viaTargetDataSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetDataSettings(List.) - 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:
#targetDataSettings(java.util.Collection)
-
numberOfJobs
CreateDataMigrationRequest.Builder 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.
- 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
CreateDataMigrationRequest.Builder tags(Collection<Tag> 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
CreateDataMigrationRequest.Builder tags(Tag... 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
CreateDataMigrationRequest.Builder tags(Consumer<Tag.Builder>... tags)
One or more tags to be assigned to the data migration.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
selectionRules
CreateDataMigrationRequest.Builder selectionRules(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDataMigrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-