Interface SyncTableMigrationRequest.Builder

  • Method Details

    • roleARN

      The Amazon Resource Name (ARN) of the IAM role that the sync uses to read the source table and its data and to write the destination table and the reports. The role must be in your account, and its trust policy must allow migration.s3tables.amazonaws.com to assume it. You can limit the trust policy to the destination table bucket with the aws:SourceArn and aws:SourceAccount condition keys.

      Parameters:
      roleARN - The Amazon Resource Name (ARN) of the IAM role that the sync uses to read the source table and its data and to write the destination table and the reports. The role must be in your account, and its trust policy must allow migration.s3tables.amazonaws.com to assume it. You can limit the trust policy to the destination table bucket with the aws:SourceArn and aws:SourceAccount condition keys.
      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 to sync. The table must have a migration, and you must not have called CompleteTableMigration for it.

      Parameters:
      tableARN - The Amazon Resource Name (ARN) of the destination table to sync. The table must have a migration, and you must not have called CompleteTableMigration for it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reviewMigrationPlan

      SyncTableMigrationRequest.Builder reviewMigrationPlan(Boolean reviewMigrationPlan)

      Specifies whether the sync waits in the pendingReview state, so that you can review the compatibility reports before it migrates any data. Valid values:

      • true - The sync waits in pendingReview until you call UpdateTableMigration with requestedState set to queued. If you don't continue or cancel the sync within 30 days, the sync fails with internalError.

      • false - The sync continues without waiting for review. This is the default.

      Parameters:
      reviewMigrationPlan - Specifies whether the sync waits in the pendingReview state, so that you can review the compatibility reports before it migrates any data. Valid values:

      • true - The sync waits in pendingReview until you call UpdateTableMigration with requestedState set to queued. If you don't continue or cancel the sync within 30 days, the sync fails with internalError.

      • false - The sync continues without waiting for review. This is the default.

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

      The bucket and prefixes that the sync writes its reports to. The bucket must be a general purpose bucket in your account and in the same Region as the table bucket, and the migration role must be able to write objects to it. Otherwise, the migration fails when it writes its first report.

      Parameters:
      migrationOutput - The bucket and prefixes that the sync writes its reports to. The bucket must be a general purpose bucket in your account and in the same Region as the table bucket, and the migration role must be able to write objects to it. Otherwise, the migration fails when it writes its first report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationOutput

      The bucket and prefixes that the sync writes its reports to. The bucket must be a general purpose bucket in your account and in the same Region as the table bucket, and the migration role must be able to write objects to it. Otherwise, the migration fails when it writes its first report.

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

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

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

      SyncTableMigrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.