Interface RestoreTableToPointInTimeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RestoreTableToPointInTimeRequest.Builder,RestoreTableToPointInTimeRequest>
,DynamoDbRequest.Builder
,SdkBuilder<RestoreTableToPointInTimeRequest.Builder,RestoreTableToPointInTimeRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- RestoreTableToPointInTimeRequest
public static interface RestoreTableToPointInTimeRequest.Builder extends DynamoDbRequest.Builder, SdkPojo, CopyableBuilder<RestoreTableToPointInTimeRequest.Builder,RestoreTableToPointInTimeRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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
-
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:
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.
-
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.
This is a convenience method that creates an instance of theGlobalSecondaryIndex.Builder
avoiding the need to create one manually viaGlobalSecondaryIndex.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#globalSecondaryIndexOverride(List
.) - Parameters:
globalSecondaryIndexOverride
- a consumer that will call methods onGlobalSecondaryIndex.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#globalSecondaryIndexOverride(java.util.Collection
)
-
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 theLocalSecondaryIndex.Builder
avoiding the need to create one manually viaLocalSecondaryIndex.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 onLocalSecondaryIndex.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.
-
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 theProvisionedThroughput.Builder
avoiding the need to create one manually viaProvisionedThroughput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedThroughputOverride(ProvisionedThroughput)
.- Parameters:
provisionedThroughputOverride
- a consumer that will call methods onProvisionedThroughput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
provisionedThroughputOverride(ProvisionedThroughput)
-
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 theSSESpecification.Builder
avoiding the need to create one manually viaSSESpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosseSpecificationOverride(SSESpecification)
.- Parameters:
sseSpecificationOverride
- a consumer that will call methods onSSESpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sseSpecificationOverride(SSESpecification)
-
overrideConfiguration
RestoreTableToPointInTimeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
RestoreTableToPointInTimeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-