Interface GetTableMigrationResponse.Builder

  • Method Details

    • migrationId

      GetTableMigrationResponse.Builder migrationId(String migrationId)

      The ID of the migration.

      Parameters:
      migrationId - The ID of the migration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableBucketARN

      GetTableMigrationResponse.Builder tableBucketARN(String tableBucketARN)

      The Amazon Resource Name (ARN) of the table bucket that contains the destination table.

      Parameters:
      tableBucketARN - The Amazon Resource Name (ARN) of the table bucket that contains the destination table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespace

      The namespace of the destination table.

      Parameters:
      namespace - The namespace of the destination table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableARN

      The Amazon Resource Name (ARN) of the destination table, once the migration creates it.

      Parameters:
      tableARN - The Amazon Resource Name (ARN) of the destination table, once the migration creates it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the destination table.

      Parameters:
      name - The name of the destination table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of the migration. Valid values:

      • start - A migration that StartTableMigration started.

      • sync - A migration that SyncTableMigration started.

      Parameters:
      type - The type of the migration. Valid values:

      • start - A migration that StartTableMigration started.

      • sync - A migration that SyncTableMigration started.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the migration. Valid values:

      • start - A migration that StartTableMigration started.

      • sync - A migration that SyncTableMigration started.

      Parameters:
      type - The type of the migration. Valid values:

      • start - A migration that StartTableMigration started.

      • sync - A migration that SyncTableMigration started.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the migration. Valid values:

      • new - S3 Tables accepted the request.

      • planning - The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports.

      • pendingReview - Planning finished, and the migration waits for you to continue or cancel it with UpdateTableMigration.

      • queued - The migration is waiting to start migrating data.

      • migrating - The migration is running the plan from the planning state: it copies data and commits it to the destination table. A migration reaches this state only if hasValidPlan is true.

      • succeeded - Every planned object migrated.

      • failed - The migration failed. Check failureReason for the cause.

      • cancelling - You cancelled the migration, and it is finishing the work in progress.

      • cancelled - The migration is cancelled.

      A migration ends in the succeeded, failed or cancelled state. You can cancel it until it ends.

      Parameters:
      state - The state of the migration. Valid values:

      • new - S3 Tables accepted the request.

      • planning - The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports.

      • pendingReview - Planning finished, and the migration waits for you to continue or cancel it with UpdateTableMigration.

      • queued - The migration is waiting to start migrating data.

      • migrating - The migration is running the plan from the planning state: it copies data and commits it to the destination table. A migration reaches this state only if hasValidPlan is true.

      • succeeded - Every planned object migrated.

      • failed - The migration failed. Check failureReason for the cause.

      • cancelling - You cancelled the migration, and it is finishing the work in progress.

      • cancelled - The migration is cancelled.

      A migration ends in the succeeded, failed or cancelled state. You can cancel it until it ends.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the migration. Valid values:

      • new - S3 Tables accepted the request.

      • planning - The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports.

      • pendingReview - Planning finished, and the migration waits for you to continue or cancel it with UpdateTableMigration.

      • queued - The migration is waiting to start migrating data.

      • migrating - The migration is running the plan from the planning state: it copies data and commits it to the destination table. A migration reaches this state only if hasValidPlan is true.

      • succeeded - Every planned object migrated.

      • failed - The migration failed. Check failureReason for the cause.

      • cancelling - You cancelled the migration, and it is finishing the work in progress.

      • cancelled - The migration is cancelled.

      A migration ends in the succeeded, failed or cancelled state. You can cancel it until it ends.

      Parameters:
      state - The state of the migration. Valid values:

      • new - S3 Tables accepted the request.

      • planning - The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports.

      • pendingReview - Planning finished, and the migration waits for you to continue or cancel it with UpdateTableMigration.

      • queued - The migration is waiting to start migrating data.

      • migrating - The migration is running the plan from the planning state: it copies data and commits it to the destination table. A migration reaches this state only if hasValidPlan is true.

      • succeeded - Every planned object migrated.

      • failed - The migration failed. Check failureReason for the cause.

      • cancelling - You cancelled the migration, and it is finishing the work in progress.

      • cancelled - The migration is cancelled.

      A migration ends in the succeeded, failed or cancelled state. You can cancel it until it ends.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleARN

      The Amazon Resource Name (ARN) of the IAM role that the migration uses.

      Parameters:
      roleARN - The Amazon Resource Name (ARN) of the IAM role that the migration uses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reviewMigrationPlan

      GetTableMigrationResponse.Builder reviewMigrationPlan(Boolean reviewMigrationPlan)

      A Boolean value that specifies whether the migration waits in the pendingReview state, so that you can review the compatibility reports before it migrates any data.

      Parameters:
      reviewMigrationPlan - A Boolean value that specifies whether the migration waits in the pendingReview state, so that you can review the compatibility reports before it migrates any data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasValidPlan

      GetTableMigrationResponse.Builder hasValidPlan(Boolean hasValidPlan)

      A Boolean value that specifies whether planning produced a plan that the migration can run. If planning hasn't finished, this value isn't returned.

      Parameters:
      hasValidPlan - A Boolean value that specifies whether planning produced a plan that the migration can run. If planning hasn't finished, this value isn't returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The date and time that the migration was created.

      Parameters:
      createdAt - The date and time that the migration was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateUpdatedAt

      GetTableMigrationResponse.Builder stateUpdatedAt(Instant stateUpdatedAt)

      The date and time that the migration's state last changed.

      Parameters:
      stateUpdatedAt - The date and time that the migration's state last changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      The reason that the migration failed. The code names the cause, such as a migration role that S3 Tables can't assume or an Amazon Web Services Glue table that doesn't exist, or the report that lists the findings. This value is returned only when the migration is in the failed state.

      Parameters:
      failureReason - The reason that the migration failed. The code names the cause, such as a migration role that S3 Tables can't assume or an Amazon Web Services Glue table that doesn't exist, or the report that lists the findings. This value is returned only when the migration is in the failed state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      The reason that the migration failed. The code names the cause, such as a migration role that S3 Tables can't assume or an Amazon Web Services Glue table that doesn't exist, or the report that lists the findings. This value is returned only when the migration is in the failed state.

      This is a convenience method that creates an instance of the MigrationFailureReason.Builder avoiding the need to create one manually via MigrationFailureReason.builder().

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

      Parameters:
      failureReason - a consumer that will call methods on MigrationFailureReason.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • planningStats

      GetTableMigrationResponse.Builder planningStats(PlanningStats planningStats)

      Statistics about the source and the partitions in the migration. This value is returned after planning finishes.

      Parameters:
      planningStats - Statistics about the source and the partitions in the migration. This value is returned after planning finishes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • planningStats

      default GetTableMigrationResponse.Builder planningStats(Consumer<PlanningStats.Builder> planningStats)

      Statistics about the source and the partitions in the migration. This value is returned after planning finishes.

      This is a convenience method that creates an instance of the PlanningStats.Builder avoiding the need to create one manually via PlanningStats.builder().

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

      Parameters:
      planningStats - a consumer that will call methods on PlanningStats.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • migrationStats

      GetTableMigrationResponse.Builder migrationStats(MigrationStats migrationStats)

      The number of objects that migrated, failed or are pending. These counts are set when planning finishes and updated when the migration ends.

      Parameters:
      migrationStats - The number of objects that migrated, failed or are pending. These counts are set when planning finishes and updated when the migration ends.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationStats

      default GetTableMigrationResponse.Builder migrationStats(Consumer<MigrationStats.Builder> migrationStats)

      The number of objects that migrated, failed or are pending. These counts are set when planning finishes and updated when the migration ends.

      This is a convenience method that creates an instance of the MigrationStats.Builder avoiding the need to create one manually via MigrationStats.builder().

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

      Parameters:
      migrationStats - a consumer that will call methods on MigrationStats.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceType

      GetTableMigrationResponse.Builder sourceType(String sourceType)

      The type of the migration's source.

      Parameters:
      sourceType - The type of the migration's source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceType

      The type of the migration's source.

      Parameters:
      sourceType - The type of the migration's source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      The source table of the migration.

      Parameters:
      source - The source table of the migration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      The source table of the migration.

      This is a convenience method that creates an instance of the SourceConfiguration.Builder avoiding the need to create one manually via SourceConfiguration.builder().

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

      Parameters:
      source - a consumer that will call methods on SourceConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataMigration

      The maintenance settings and migration policies for the destination table.

      Parameters:
      dataMigration - The maintenance settings and migration policies for the destination table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataMigration

      The maintenance settings and migration policies for the destination table.

      This is a convenience method that creates an instance of the DataMigrationOverview.Builder avoiding the need to create one manually via DataMigrationOverview.builder().

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

      Parameters:
      dataMigration - a consumer that will call methods on DataMigrationOverview.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • migrationOutput

      The bucket and prefixes for the migration's reports, and the location of each report once it is written.

      Parameters:
      migrationOutput - The bucket and prefixes for the migration's reports, and the location of each report once it is written.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationOutput

      The bucket and prefixes for the migration's reports, and the location of each report once it is written.

      This is a convenience method that creates an instance of the MigrationOutputOverview.Builder avoiding the need to create one manually via MigrationOutputOverview.builder().

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

      Parameters:
      migrationOutput - a consumer that will call methods on MigrationOutputOverview.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: