Interface RestoreTableToPointInTimeRequest.Builder

  • Method Details

    • sourceTableArn

      RestoreTableToPointInTimeRequest.Builder sourceTableArn(String sourceTableArn)

      The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).

      Parameters:
      sourceTableArn - The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceTableName

      RestoreTableToPointInTimeRequest.Builder sourceTableName(String sourceTableName)

      Name of the source table that is being restored.

      Parameters:
      sourceTableName - Name of the source table that is being restored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetTableName

      RestoreTableToPointInTimeRequest.Builder targetTableName(String targetTableName)

      The name of the new table to which it must be restored to.

      Parameters:
      targetTableName - The name of the new table to which it must be restored to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • useLatestRestorableTime

      RestoreTableToPointInTimeRequest.Builder useLatestRestorableTime(Boolean useLatestRestorableTime)

      Restore the table to the latest possible time. LatestRestorableDateTime is typically 5 minutes before the current time.

      Parameters:
      useLatestRestorableTime - Restore the table to the latest possible time. LatestRestorableDateTime is typically 5 minutes before the current time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restoreDateTime

      RestoreTableToPointInTimeRequest.Builder restoreDateTime(Instant restoreDateTime)

      Time in the past to restore the table to.

      Parameters:
      restoreDateTime - Time in the past to restore the table to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingModeOverride

      RestoreTableToPointInTimeRequest.Builder billingModeOverride(String billingModeOverride)

      The billing mode of the restored table.

      Parameters:
      billingModeOverride - The billing mode of the restored table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • billingModeOverride

      RestoreTableToPointInTimeRequest.Builder billingModeOverride(BillingMode billingModeOverride)

      The billing mode of the restored table.

      Parameters:
      billingModeOverride - The billing mode of the restored table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • globalSecondaryIndexOverride

      RestoreTableToPointInTimeRequest.Builder globalSecondaryIndexOverride(Collection<GlobalSecondaryIndex> globalSecondaryIndexOverride)

      List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

      The WarmThroughput setting is not supported on global secondary indexes when you use RestoreTableToPointInTime. Although WarmThroughput appears in the shared index definition, including it in a GlobalSecondaryIndexOverride entry causes the request to fail with a validation error.

      Parameters:
      globalSecondaryIndexOverride - List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

      The WarmThroughput setting is not supported on global secondary indexes when you use RestoreTableToPointInTime. Although WarmThroughput appears in the shared index definition, including it in a GlobalSecondaryIndexOverride entry causes the request to fail with a validation error.

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

      RestoreTableToPointInTimeRequest.Builder globalSecondaryIndexOverride(GlobalSecondaryIndex... globalSecondaryIndexOverride)

      List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

      The WarmThroughput setting is not supported on global secondary indexes when you use RestoreTableToPointInTime. Although WarmThroughput appears in the shared index definition, including it in a GlobalSecondaryIndexOverride entry causes the request to fail with a validation error.

      Parameters:
      globalSecondaryIndexOverride - List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

      The WarmThroughput setting is not supported on global secondary indexes when you use RestoreTableToPointInTime. Although WarmThroughput appears in the shared index definition, including it in a GlobalSecondaryIndexOverride entry causes the request to fail with a validation error.

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

      RestoreTableToPointInTimeRequest.Builder globalSecondaryIndexOverride(Consumer<GlobalSecondaryIndex.Builder>... globalSecondaryIndexOverride)

      List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

      The WarmThroughput setting is not supported on global secondary indexes when you use RestoreTableToPointInTime. Although WarmThroughput appears in the shared index definition, including it in a GlobalSecondaryIndexOverride entry causes the request to fail with a validation error.

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

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

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

      RestoreTableToPointInTimeRequest.Builder localSecondaryIndexOverride(Collection<LocalSecondaryIndex> localSecondaryIndexOverride)

      List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

      Parameters:
      localSecondaryIndexOverride - List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localSecondaryIndexOverride

      RestoreTableToPointInTimeRequest.Builder localSecondaryIndexOverride(LocalSecondaryIndex... localSecondaryIndexOverride)

      List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

      Parameters:
      localSecondaryIndexOverride - List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localSecondaryIndexOverride

      RestoreTableToPointInTimeRequest.Builder localSecondaryIndexOverride(Consumer<LocalSecondaryIndex.Builder>... localSecondaryIndexOverride)

      List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

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

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

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

      RestoreTableToPointInTimeRequest.Builder provisionedThroughputOverride(ProvisionedThroughput provisionedThroughputOverride)

      Provisioned throughput settings for the restored table.

      Parameters:
      provisionedThroughputOverride - Provisioned throughput settings for the restored table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provisionedThroughputOverride

      default RestoreTableToPointInTimeRequest.Builder provisionedThroughputOverride(Consumer<ProvisionedThroughput.Builder> provisionedThroughputOverride)

      Provisioned throughput settings for the restored table.

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

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

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

      RestoreTableToPointInTimeRequest.Builder onDemandThroughputOverride(OnDemandThroughput onDemandThroughputOverride)
      Sets the value of the OnDemandThroughputOverride property for this object.
      Parameters:
      onDemandThroughputOverride - The new value for the OnDemandThroughputOverride property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • onDemandThroughputOverride

      default RestoreTableToPointInTimeRequest.Builder onDemandThroughputOverride(Consumer<OnDemandThroughput.Builder> onDemandThroughputOverride)
      Sets the value of the OnDemandThroughputOverride property for this object. This is a convenience method that creates an instance of the OnDemandThroughput.Builder avoiding the need to create one manually via OnDemandThroughput.builder().

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

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

      RestoreTableToPointInTimeRequest.Builder sseSpecificationOverride(SSESpecification sseSpecificationOverride)

      The new server-side encryption settings for the restored table.

      Parameters:
      sseSpecificationOverride - The new server-side encryption settings for the restored table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sseSpecificationOverride

      default RestoreTableToPointInTimeRequest.Builder sseSpecificationOverride(Consumer<SSESpecification.Builder> sseSpecificationOverride)

      The new server-side encryption settings for the restored table.

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

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

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

      RestoreTableToPointInTimeRequest.Builder vectorIndexOverride(Collection<VectorIndex> vectorIndexOverride)

      The vector indexes for the restored table. If not specified, all vector indexes from the source table are restored. The indexes provided must match existing vector indexes from the source table. You can choose to exclude some or all of the vector indexes at the time of restore.

      Parameters:
      vectorIndexOverride - The vector indexes for the restored table. If not specified, all vector indexes from the source table are restored. The indexes provided must match existing vector indexes from the source table. You can choose to exclude some or all of the vector indexes at the time of restore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vectorIndexOverride

      RestoreTableToPointInTimeRequest.Builder vectorIndexOverride(VectorIndex... vectorIndexOverride)

      The vector indexes for the restored table. If not specified, all vector indexes from the source table are restored. The indexes provided must match existing vector indexes from the source table. You can choose to exclude some or all of the vector indexes at the time of restore.

      Parameters:
      vectorIndexOverride - The vector indexes for the restored table. If not specified, all vector indexes from the source table are restored. The indexes provided must match existing vector indexes from the source table. You can choose to exclude some or all of the vector indexes at the time of restore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vectorIndexOverride

      RestoreTableToPointInTimeRequest.Builder vectorIndexOverride(Consumer<VectorIndex.Builder>... vectorIndexOverride)

      The vector indexes for the restored table. If not specified, all vector indexes from the source table are restored. The indexes provided must match existing vector indexes from the source table. You can choose to exclude some or all of the vector indexes at the time of restore.

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

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

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

      RestoreTableToPointInTimeRequest.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.