Interface DataMigration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataMigration.Builder,
,DataMigration> SdkBuilder<DataMigration.Builder,
,DataMigration> SdkPojo
- Enclosing class:
DataMigration
-
Method Summary
Modifier and TypeMethodDescriptiondataMigrationArn
(String dataMigrationArn) The Amazon Resource Name (ARN) that identifies this replication.dataMigrationCidrBlocks
(String... dataMigrationCidrBlocks) The CIDR blocks of the endpoints for the data migration.dataMigrationCidrBlocks
(Collection<String> dataMigrationCidrBlocks) The CIDR blocks of the endpoints for the data migration.dataMigrationCreateTime
(Instant dataMigrationCreateTime) The UTC time when DMS created the data migration.dataMigrationEndTime
(Instant dataMigrationEndTime) The UTC time when data migration ended.dataMigrationName
(String dataMigrationName) The user-friendly name for the data migration.default DataMigration.Builder
dataMigrationSettings
(Consumer<DataMigrationSettings.Builder> dataMigrationSettings) Specifies CloudWatch settings and selection rules for the data migration.dataMigrationSettings
(DataMigrationSettings dataMigrationSettings) Specifies CloudWatch settings and selection rules for the data migration.dataMigrationStartTime
(Instant dataMigrationStartTime) The UTC time when DMS started the data migration.default DataMigration.Builder
dataMigrationStatistics
(Consumer<DataMigrationStatistics.Builder> dataMigrationStatistics) Provides information about the data migration's run, including start and stop time, latency, and data migration progress.dataMigrationStatistics
(DataMigrationStatistics dataMigrationStatistics) Provides information about the data migration's run, including start and stop time, latency, and data migration progress.dataMigrationStatus
(String dataMigrationStatus) The current status of the data migration.dataMigrationType
(String dataMigrationType) Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.dataMigrationType
(MigrationTypeValue dataMigrationType) Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.lastFailureMessage
(String lastFailureMessage) Information about the data migration's most recent error or failure.migrationProjectArn
(String migrationProjectArn) The Amazon Resource Name (ARN) of the data migration's associated migration project.publicIpAddresses
(String... publicIpAddresses) The IP addresses of the endpoints for the data migration.publicIpAddresses
(Collection<String> publicIpAddresses) The IP addresses of the endpoints for the data migration.serviceAccessRoleArn
(String serviceAccessRoleArn) The IAM role that the data migration uses to access Amazon Web Services resources.sourceDataSettings
(Collection<SourceDataSetting> sourceDataSettings) Specifies information about the data migration's source data provider.sourceDataSettings
(Consumer<SourceDataSetting.Builder>... sourceDataSettings) Specifies information about the data migration's source data provider.sourceDataSettings
(SourceDataSetting... sourceDataSettings) Specifies information about the data migration's source data provider.stopReason
(String stopReason) The reason the data migration last stopped.targetDataSettings
(Collection<TargetDataSetting> targetDataSettings) Specifies information about the data migration's target data provider.targetDataSettings
(Consumer<TargetDataSetting.Builder>... targetDataSettings) Specifies information about the data migration's target data provider.targetDataSettings
(TargetDataSetting... targetDataSettings) Specifies information about the data migration's target data provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
The user-friendly name for the data migration.
- Parameters:
dataMigrationName
- The user-friendly name for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationArn
The Amazon Resource Name (ARN) that identifies this replication.
- Parameters:
dataMigrationArn
- The Amazon Resource Name (ARN) that identifies this replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationCreateTime
The UTC time when DMS created the data migration.
- Parameters:
dataMigrationCreateTime
- The UTC time when DMS created the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationStartTime
The UTC time when DMS started the data migration.
- Parameters:
dataMigrationStartTime
- The UTC time when DMS started the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationEndTime
The UTC time when data migration ended.
- Parameters:
dataMigrationEndTime
- The UTC time when data migration ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccessRoleArn
The IAM role that the data migration uses to access Amazon Web Services resources.
- Parameters:
serviceAccessRoleArn
- The IAM role that the data migration uses to access Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationProjectArn
The Amazon Resource Name (ARN) of the data migration's associated migration project.
- Parameters:
migrationProjectArn
- The Amazon Resource Name (ARN) of the data migration's associated migration project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationType
Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
- Parameters:
dataMigrationType
- Specifies whether 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 whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
- Parameters:
dataMigrationType
- Specifies whether 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:
-
dataMigrationSettings
Specifies CloudWatch settings and selection rules for the data migration.
- Parameters:
dataMigrationSettings
- Specifies CloudWatch settings and selection rules for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationSettings
default DataMigration.Builder dataMigrationSettings(Consumer<DataMigrationSettings.Builder> dataMigrationSettings) Specifies CloudWatch settings and selection rules for the data migration.
This is a convenience method that creates an instance of theDataMigrationSettings.Builder
avoiding the need to create one manually viaDataMigrationSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataMigrationSettings(DataMigrationSettings)
.- Parameters:
dataMigrationSettings
- a consumer that will call methods onDataMigrationSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceDataSettings
Specifies information about the data migration's source data provider.
- Parameters:
sourceDataSettings
- Specifies information about the data migration's source data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataSettings
Specifies information about the data migration's source data provider.
- Parameters:
sourceDataSettings
- Specifies information about the data migration's source data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataSettings
Specifies information about the data migration's 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
Specifies information about the data migration's target data provider.
- Parameters:
targetDataSettings
- Specifies information about the data migration's target data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataSettings
Specifies information about the data migration's target data provider.
- Parameters:
targetDataSettings
- Specifies information about the data migration's target data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataSettings
Specifies information about the data migration's 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:
-
dataMigrationStatistics
Provides information about the data migration's run, including start and stop time, latency, and data migration progress.
- Parameters:
dataMigrationStatistics
- Provides information about the data migration's run, including start and stop time, latency, and data migration progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationStatistics
default DataMigration.Builder dataMigrationStatistics(Consumer<DataMigrationStatistics.Builder> dataMigrationStatistics) Provides information about the data migration's run, including start and stop time, latency, and data migration progress.
This is a convenience method that creates an instance of theDataMigrationStatistics.Builder
avoiding the need to create one manually viaDataMigrationStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataMigrationStatistics(DataMigrationStatistics)
.- Parameters:
dataMigrationStatistics
- a consumer that will call methods onDataMigrationStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataMigrationStatus
The current status of the data migration.
- Parameters:
dataMigrationStatus
- The current status of the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIpAddresses
The IP addresses of the endpoints for the data migration.
- Parameters:
publicIpAddresses
- The IP addresses of the endpoints for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIpAddresses
The IP addresses of the endpoints for the data migration.
- Parameters:
publicIpAddresses
- The IP addresses of the endpoints for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationCidrBlocks
The CIDR blocks of the endpoints for the data migration.
- Parameters:
dataMigrationCidrBlocks
- The CIDR blocks of the endpoints for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigrationCidrBlocks
The CIDR blocks of the endpoints for the data migration.
- Parameters:
dataMigrationCidrBlocks
- The CIDR blocks of the endpoints for the data migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastFailureMessage
Information about the data migration's most recent error or failure.
- Parameters:
lastFailureMessage
- Information about the data migration's most recent error or failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopReason
The reason the data migration last stopped.
- Parameters:
stopReason
- The reason the data migration last stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-