Interface RestoreTableToPointInTimeRequest.Builder

    • Method Detail

      • 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:
        BillingMode, BillingMode
      • 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.

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

        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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).

        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:
        #localSecondaryIndexOverride(java.util.Collection)
      • 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.
      • 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.