Interface DataMigration.Builder

  • Method Details

    • 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:
    • 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:
    • 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 the DataMigrationSettings.Builder avoiding the need to create one manually via DataMigrationSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataMigrationSettings(DataMigrationSettings).

      Parameters:
      dataMigrationSettings - a consumer that will call methods on DataMigrationSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the SourceDataSetting.Builder avoiding the need to create one manually via SourceDataSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceDataSettings(List<SourceDataSetting>).

      Parameters:
      sourceDataSettings - a consumer that will call methods on SourceDataSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the TargetDataSetting.Builder avoiding the need to create one manually via TargetDataSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetDataSettings(List<TargetDataSetting>).

      Parameters:
      targetDataSettings - a consumer that will call methods on TargetDataSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the DataMigrationStatistics.Builder avoiding the need to create one manually via DataMigrationStatistics.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataMigrationStatistics(DataMigrationStatistics).

      Parameters:
      dataMigrationStatistics - a consumer that will call methods on DataMigrationStatistics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.