How can I create a dynamo db table with PITR enabled through API in java??
This is my create table request
CreateTableRequest createTableRequest = new CreateTableRequest()
.withTableName(properties.get(TABLE_NAME).textValue())
.withKeySchema(this.buildKeySchema(properties))
.withAttributeDefinitions(this.buildAttributeDefinitions(properties))
.withProvisionedThroughput(this.buildProvisionedThroughput(properties))
.withGlobalSecondaryIndexes(this.buildGlobalSecondaryIndex(properties))
.withBillingMode(properties.get(BILLING_MODE).textValue());
I want to add PITR enabled
PITR is enabled using seprate api call UpdateContinuousBackupsRequest.
The Java call maps to UpdateContinuousBackups AWS API.