Interface RestoreTableToPointInTimeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RestoreTableToPointInTimeRequest.Builder,,RestoreTableToPointInTimeRequest> DynamoDbRequest.Builder,SdkBuilder<RestoreTableToPointInTimeRequest.Builder,,RestoreTableToPointInTimeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RestoreTableToPointInTimeRequest
-
Method Summary
Modifier and TypeMethodDescriptionbillingModeOverride(String billingModeOverride) The billing mode of the restored table.billingModeOverride(BillingMode billingModeOverride) The billing mode of the restored table.globalSecondaryIndexOverride(Collection<GlobalSecondaryIndex> globalSecondaryIndexOverride) List of global secondary indexes for the restored table.globalSecondaryIndexOverride(Consumer<GlobalSecondaryIndex.Builder>... globalSecondaryIndexOverride) List of global secondary indexes for the restored table.globalSecondaryIndexOverride(GlobalSecondaryIndex... globalSecondaryIndexOverride) List of global secondary indexes for the restored table.localSecondaryIndexOverride(Collection<LocalSecondaryIndex> localSecondaryIndexOverride) List of local secondary indexes for the restored table.localSecondaryIndexOverride(Consumer<LocalSecondaryIndex.Builder>... localSecondaryIndexOverride) List of local secondary indexes for the restored table.localSecondaryIndexOverride(LocalSecondaryIndex... localSecondaryIndexOverride) List of local secondary indexes for the restored table.onDemandThroughputOverride(Consumer<OnDemandThroughput.Builder> onDemandThroughputOverride) Sets the value of the OnDemandThroughputOverride property for this object.onDemandThroughputOverride(OnDemandThroughput onDemandThroughputOverride) Sets the value of the OnDemandThroughputOverride property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.provisionedThroughputOverride(Consumer<ProvisionedThroughput.Builder> provisionedThroughputOverride) Provisioned throughput settings for the restored table.provisionedThroughputOverride(ProvisionedThroughput provisionedThroughputOverride) Provisioned throughput settings for the restored table.restoreDateTime(Instant restoreDateTime) Time in the past to restore the table to.sourceTableArn(String sourceTableArn) The DynamoDB table that will be restored.sourceTableName(String sourceTableName) Name of the source table that is being restored.sseSpecificationOverride(Consumer<SSESpecification.Builder> sseSpecificationOverride) The new server-side encryption settings for the restored table.sseSpecificationOverride(SSESpecification sseSpecificationOverride) The new server-side encryption settings for the restored table.targetTableName(String targetTableName) The name of the new table to which it must be restored to.useLatestRestorableTime(Boolean useLatestRestorableTime) Restore the table to the latest possible time.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
Restore the table to the latest possible time.
LatestRestorableDateTimeis typically 5 minutes before the current time.- Parameters:
useLatestRestorableTime- Restore the table to the latest possible time.LatestRestorableDateTimeis typically 5 minutes before the current time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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.
- 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.Builderavoiding the need to create one manually viaGlobalSecondaryIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toglobalSecondaryIndexOverride(List<GlobalSecondaryIndex>).- 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:
-
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.Builderavoiding the need to create one manually viaLocalSecondaryIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalSecondaryIndexOverride(List<LocalSecondaryIndex>).- 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:
-
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.Builderavoiding the need to create one manually viaProvisionedThroughput.builder().When the
Consumercompletes,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:
-
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 theOnDemandThroughput.Builderavoiding the need to create one manually viaOnDemandThroughput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonDemandThroughputOverride(OnDemandThroughput).- Parameters:
onDemandThroughputOverride- a consumer that will call methods onOnDemandThroughput.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 theSSESpecification.Builderavoiding the need to create one manually viaSSESpecification.builder().When the
Consumercompletes,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:
-
overrideConfiguration
RestoreTableToPointInTimeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RestoreTableToPointInTimeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-