Interface ModifyDataMigrationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyDataMigrationRequest.Builder,ModifyDataMigrationRequest>,DatabaseMigrationRequest.Builder,SdkBuilder<ModifyDataMigrationRequest.Builder,ModifyDataMigrationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyDataMigrationRequest
@Mutable @NotThreadSafe public static interface ModifyDataMigrationRequest.Builder extends DatabaseMigrationRequest.Builder, SdkPojo, CopyableBuilder<ModifyDataMigrationRequest.Builder,ModifyDataMigrationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyDataMigrationRequest.BuilderdataMigrationIdentifier(String dataMigrationIdentifier)The identifier (name or ARN) of the data migration to modify.ModifyDataMigrationRequest.BuilderdataMigrationName(String dataMigrationName)The new name for the data migration.ModifyDataMigrationRequest.BuilderdataMigrationType(String dataMigrationType)The new migration type for the data migration.ModifyDataMigrationRequest.BuilderdataMigrationType(MigrationTypeValue dataMigrationType)The new migration type for the data migration.ModifyDataMigrationRequest.BuilderenableCloudwatchLogs(Boolean enableCloudwatchLogs)Whether to enable Cloudwatch logs for the data migration.ModifyDataMigrationRequest.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.ModifyDataMigrationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyDataMigrationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifyDataMigrationRequest.BuilderselectionRules(String selectionRules)A JSON-formatted string that defines what objects to include and exclude from the migration.ModifyDataMigrationRequest.BuilderserviceAccessRoleArn(String serviceAccessRoleArn)The new service access role ARN for the data migration.ModifyDataMigrationRequest.BuildersourceDataSettings(Collection<SourceDataSetting> sourceDataSettings)The new information about the source data provider for the data migration.ModifyDataMigrationRequest.BuildersourceDataSettings(Consumer<SourceDataSetting.Builder>... sourceDataSettings)The new information about the source data provider for the data migration.ModifyDataMigrationRequest.BuildersourceDataSettings(SourceDataSetting... sourceDataSettings)The new information about the source data provider for the data migration.ModifyDataMigrationRequest.BuildertargetDataSettings(Collection<TargetDataSetting> targetDataSettings)The new information about the target data provider for the data migration.ModifyDataMigrationRequest.BuildertargetDataSettings(Consumer<TargetDataSetting.Builder>... targetDataSettings)The new information about the target data provider for the data migration.ModifyDataMigrationRequest.BuildertargetDataSettings(TargetDataSetting... targetDataSettings)The new information about the target 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dataMigrationIdentifier
ModifyDataMigrationRequest.Builder dataMigrationIdentifier(String 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
ModifyDataMigrationRequest.Builder dataMigrationName(String 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
ModifyDataMigrationRequest.Builder enableCloudwatchLogs(Boolean 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
ModifyDataMigrationRequest.Builder serviceAccessRoleArn(String 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
ModifyDataMigrationRequest.Builder dataMigrationType(String 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:
MigrationTypeValue,MigrationTypeValue
-
dataMigrationType
ModifyDataMigrationRequest.Builder dataMigrationType(MigrationTypeValue 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:
MigrationTypeValue,MigrationTypeValue
-
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
ModifyDataMigrationRequest.Builder sourceDataSettings(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
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.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
ModifyDataMigrationRequest.Builder targetDataSettings(Collection<TargetDataSetting> targetDataSettings)
The new information about the target data provider for the data migration.
- Parameters:
targetDataSettings- The new information about the target data provider for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataSettings
ModifyDataMigrationRequest.Builder targetDataSettings(TargetDataSetting... targetDataSettings)
The new information about the target data provider for the data migration.
- Parameters:
targetDataSettings- The new information about the target data provider for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataSettings
ModifyDataMigrationRequest.Builder targetDataSettings(Consumer<TargetDataSetting.Builder>... targetDataSettings)
The new information about the target data provider for the data migration.
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
ModifyDataMigrationRequest.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.
-
selectionRules
ModifyDataMigrationRequest.Builder selectionRules(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyDataMigrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-