Interface DataMigration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataMigration.Builder,DataMigration>,SdkBuilder<DataMigration.Builder,DataMigration>,SdkPojo
- Enclosing class:
- DataMigration
@Mutable @NotThreadSafe public static interface DataMigration.Builder extends SdkPojo, CopyableBuilder<DataMigration.Builder,DataMigration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataMigration.BuilderdataMigrationArn(String dataMigrationArn)The Amazon Resource Name (ARN) that identifies this replication.DataMigration.BuilderdataMigrationCidrBlocks(String... dataMigrationCidrBlocks)The CIDR blocks of the endpoints for the data migration.DataMigration.BuilderdataMigrationCidrBlocks(Collection<String> dataMigrationCidrBlocks)The CIDR blocks of the endpoints for the data migration.DataMigration.BuilderdataMigrationCreateTime(Instant dataMigrationCreateTime)The UTC time when DMS created the data migration.DataMigration.BuilderdataMigrationEndTime(Instant dataMigrationEndTime)The UTC time when data migration ended.DataMigration.BuilderdataMigrationName(String dataMigrationName)The user-friendly name for the data migration.default DataMigration.BuilderdataMigrationSettings(Consumer<DataMigrationSettings.Builder> dataMigrationSettings)Specifies CloudWatch settings and selection rules for the data migration.DataMigration.BuilderdataMigrationSettings(DataMigrationSettings dataMigrationSettings)Specifies CloudWatch settings and selection rules for the data migration.DataMigration.BuilderdataMigrationStartTime(Instant dataMigrationStartTime)The UTC time when DMS started the data migration.default DataMigration.BuilderdataMigrationStatistics(Consumer<DataMigrationStatistics.Builder> dataMigrationStatistics)Provides information about the data migration's run, including start and stop time, latency, and data migration progress.DataMigration.BuilderdataMigrationStatistics(DataMigrationStatistics dataMigrationStatistics)Provides information about the data migration's run, including start and stop time, latency, and data migration progress.DataMigration.BuilderdataMigrationStatus(String dataMigrationStatus)The current status of the data migration.DataMigration.BuilderdataMigrationType(String dataMigrationType)Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.DataMigration.BuilderdataMigrationType(MigrationTypeValue dataMigrationType)Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.DataMigration.BuilderlastFailureMessage(String lastFailureMessage)Information about the data migration's most recent error or failure.DataMigration.BuildermigrationProjectArn(String migrationProjectArn)The Amazon Resource Name (ARN) of the data migration's associated migration project.DataMigration.BuilderpublicIpAddresses(String... publicIpAddresses)The IP addresses of the endpoints for the data migration.DataMigration.BuilderpublicIpAddresses(Collection<String> publicIpAddresses)The IP addresses of the endpoints for the data migration.DataMigration.BuilderserviceAccessRoleArn(String serviceAccessRoleArn)The IAM role that the data migration uses to access Amazon Web Services resources.DataMigration.BuildersourceDataSettings(Collection<SourceDataSetting> sourceDataSettings)Specifies information about the data migration's source data provider.DataMigration.BuildersourceDataSettings(Consumer<SourceDataSetting.Builder>... sourceDataSettings)Specifies information about the data migration's source data provider.DataMigration.BuildersourceDataSettings(SourceDataSetting... sourceDataSettings)Specifies information about the data migration's source data provider.DataMigration.BuilderstopReason(String stopReason)The reason the data migration last stopped.DataMigration.BuildertargetDataSettings(Collection<TargetDataSetting> targetDataSettings)Specifies information about the data migration's target data provider.DataMigration.BuildertargetDataSettings(Consumer<TargetDataSetting.Builder>... targetDataSettings)Specifies information about the data migration's target data provider.DataMigration.BuildertargetDataSettings(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 Detail
-
dataMigrationName
DataMigration.Builder dataMigrationName(String 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
DataMigration.Builder dataMigrationArn(String 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
DataMigration.Builder dataMigrationCreateTime(Instant 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
DataMigration.Builder dataMigrationStartTime(Instant 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
DataMigration.Builder dataMigrationEndTime(Instant 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
DataMigration.Builder serviceAccessRoleArn(String 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
DataMigration.Builder migrationProjectArn(String 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
DataMigration.Builder dataMigrationType(String 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:
MigrationTypeValue,MigrationTypeValue
-
dataMigrationType
DataMigration.Builder dataMigrationType(MigrationTypeValue 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:
MigrationTypeValue,MigrationTypeValue
-
dataMigrationSettings
DataMigration.Builder dataMigrationSettings(DataMigrationSettings 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.Builderavoiding the need to create one manually viaDataMigrationSettings.builder().When the
Consumercompletes,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:
dataMigrationSettings(DataMigrationSettings)
-
sourceDataSettings
DataMigration.Builder sourceDataSettings(Collection<SourceDataSetting> 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
DataMigration.Builder sourceDataSettings(SourceDataSetting... 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
DataMigration.Builder sourceDataSettings(Consumer<SourceDataSetting.Builder>... sourceDataSettings)
Specifies information about the data migration's 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
DataMigration.Builder targetDataSettings(Collection<TargetDataSetting> 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
DataMigration.Builder targetDataSettings(TargetDataSetting... 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
DataMigration.Builder targetDataSettings(Consumer<TargetDataSetting.Builder>... targetDataSettings)
Specifies information about the data migration's 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)
-
dataMigrationStatistics
DataMigration.Builder dataMigrationStatistics(DataMigrationStatistics 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.Builderavoiding the need to create one manually viaDataMigrationStatistics.builder().When the
Consumercompletes,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:
dataMigrationStatistics(DataMigrationStatistics)
-
dataMigrationStatus
DataMigration.Builder dataMigrationStatus(String 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
DataMigration.Builder publicIpAddresses(Collection<String> 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
DataMigration.Builder publicIpAddresses(String... 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
DataMigration.Builder dataMigrationCidrBlocks(Collection<String> 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
DataMigration.Builder dataMigrationCidrBlocks(String... 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
DataMigration.Builder lastFailureMessage(String 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
DataMigration.Builder stopReason(String 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.
-
-