@Stability(value=Experimental) public static final class TableOptions.Builder extends Object implements software.amazon.jsii.Builder<TableOptions>
TableOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public TableOptions.Builder partitionKey(Attribute partitionKey)
TableOptions.getPartitionKey()partitionKey - Partition key attribute definition. This parameter is required.this@Stability(value=Experimental) public TableOptions.Builder billingMode(BillingMode billingMode)
TableOptions.getBillingMode()billingMode - Specify how you are charged for read and write throughput and how you manage capacity.this@Stability(value=Experimental) public TableOptions.Builder contributorInsightsEnabled(Boolean contributorInsightsEnabled)
TableOptions.getContributorInsightsEnabled()contributorInsightsEnabled - Whether CloudWatch contributor insights is enabled.this@Stability(value=Experimental) public TableOptions.Builder encryption(TableEncryption encryption)
TableOptions.getEncryption()encryption - Whether server-side encryption with an AWS managed customer master key is enabled.
This property cannot be set if serverSideEncryption is set.this@Stability(value=Experimental) public TableOptions.Builder encryptionKey(IKey encryptionKey)
TableOptions.getEncryptionKey()encryptionKey - External KMS key to use for table encryption.
This property can only be set if encryption is set to TableEncryption.CUSTOMER_MANAGED.this@Stability(value=Experimental) public TableOptions.Builder pointInTimeRecovery(Boolean pointInTimeRecovery)
TableOptions.getPointInTimeRecovery()pointInTimeRecovery - Whether point-in-time recovery is enabled.this@Stability(value=Experimental) public TableOptions.Builder readCapacity(Number readCapacity)
TableOptions.getReadCapacity()readCapacity - The read capacity for the table.
Careful if you add Global Secondary Indexes, as
those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
this@Stability(value=Experimental) public TableOptions.Builder removalPolicy(RemovalPolicy removalPolicy)
TableOptions.getRemovalPolicy()removalPolicy - The removal policy to apply to the DynamoDB Table.this@Stability(value=Experimental) public TableOptions.Builder replicationRegions(List<String> replicationRegions)
TableOptions.getReplicationRegions()replicationRegions - Regions where replica tables will be created.this@Stability(value=Experimental) public TableOptions.Builder replicationTimeout(Duration replicationTimeout)
TableOptions.getReplicationTimeout()replicationTimeout - The timeout for a table replication operation in a single region.this@Stability(value=Experimental) public TableOptions.Builder sortKey(Attribute sortKey)
TableOptions.getSortKey()sortKey - Table sort key attribute definition.this@Stability(value=Experimental) public TableOptions.Builder stream(StreamViewType stream)
TableOptions.getStream()stream - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table.this@Stability(value=Experimental) public TableOptions.Builder timeToLiveAttribute(String timeToLiveAttribute)
TableOptions.getTimeToLiveAttribute()timeToLiveAttribute - The name of TTL attribute.this@Stability(value=Experimental) public TableOptions.Builder writeCapacity(Number writeCapacity)
TableOptions.getWriteCapacity()writeCapacity - The write capacity for the table.
Careful if you add Global Secondary Indexes, as
those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
this@Stability(value=Experimental) public TableOptions build()
build in interface software.amazon.jsii.Builder<TableOptions>TableOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.