@Stability(value=Experimental) @Internal public static final class TableOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TableOptions
TableOptionssoftware.amazon.jsii.JsiiObject.InitializationModeTableOptions.Builder, TableOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Attribute partitionKey,
BillingMode billingMode,
Boolean contributorInsightsEnabled,
TableEncryption encryption,
IKey encryptionKey,
Boolean pointInTimeRecovery,
Number readCapacity,
RemovalPolicy removalPolicy,
List<String> replicationRegions,
Duration replicationTimeout,
Attribute sortKey,
StreamViewType stream,
String timeToLiveAttribute,
Number writeCapacity)
Constructor that initializes the object based on literal property values passed by the
TableOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
BillingMode |
getBillingMode()
(experimental) Specify how you are charged for read and write throughput and how you manage capacity.
|
Boolean |
getContributorInsightsEnabled()
(experimental) Whether CloudWatch contributor insights is enabled.
|
TableEncryption |
getEncryption()
(experimental) Whether server-side encryption with an AWS managed customer master key is enabled.
|
IKey |
getEncryptionKey()
(experimental) External KMS key to use for table encryption.
|
Attribute |
getPartitionKey()
(experimental) Partition key attribute definition.
|
Boolean |
getPointInTimeRecovery()
(experimental) Whether point-in-time recovery is enabled.
|
Number |
getReadCapacity()
(experimental) The read capacity for the table.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply to the DynamoDB Table.
|
List<String> |
getReplicationRegions()
(experimental) Regions where replica tables will be created.
|
Duration |
getReplicationTimeout()
(experimental) The timeout for a table replication operation in a single region.
|
Attribute |
getSortKey()
(experimental) Table sort key attribute definition.
|
StreamViewType |
getStream()
(experimental) When an item in the table is modified, StreamViewType determines what information is written to the stream for this table.
|
String |
getTimeToLiveAttribute()
(experimental) The name of TTL attribute.
|
Number |
getWriteCapacity()
(experimental) The write capacity for the table.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Attribute partitionKey, BillingMode billingMode, Boolean contributorInsightsEnabled, TableEncryption encryption, IKey encryptionKey, Boolean pointInTimeRecovery, Number readCapacity, RemovalPolicy removalPolicy, List<String> replicationRegions, Duration replicationTimeout, Attribute sortKey, StreamViewType stream, String timeToLiveAttribute, Number writeCapacity)
TableOptions.Builder.public final Attribute getPartitionKey()
TableOptionsgetPartitionKey in interface TableOptionspublic final BillingMode getBillingMode()
TableOptionsDefault: PROVISIONED if `replicationRegions` is not specified, PAY_PER_REQUEST otherwise
getBillingMode in interface TableOptionspublic final Boolean getContributorInsightsEnabled()
TableOptionsDefault: false
getContributorInsightsEnabled in interface TableOptionspublic final TableEncryption getEncryption()
TableOptions
This property cannot be set if serverSideEncryption is set.
Default: - server-side encryption is enabled with an AWS owned customer master key
getEncryption in interface TableOptionspublic final IKey getEncryptionKey()
TableOptions
This property can only be set if encryption is set to TableEncryption.CUSTOMER_MANAGED.
Default: - If `encryption` is set to `TableEncryption.CUSTOMER_MANAGED` and this property is undefined, a new KMS key will be created and associated with this table.
getEncryptionKey in interface TableOptionspublic final Boolean getPointInTimeRecovery()
TableOptionsDefault: - point-in-time recovery is disabled
getPointInTimeRecovery in interface TableOptionspublic final Number getReadCapacity()
TableOptionsCareful if you add Global Secondary Indexes, as those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
Default: 5
getReadCapacity in interface TableOptionspublic final RemovalPolicy getRemovalPolicy()
TableOptionsDefault: RemovalPolicy.RETAIN
getRemovalPolicy in interface TableOptionspublic final List<String> getReplicationRegions()
TableOptionsDefault: - no replica tables are created
getReplicationRegions in interface TableOptionspublic final Duration getReplicationTimeout()
TableOptionsDefault: Duration.minutes(30)
getReplicationTimeout in interface TableOptionspublic final Attribute getSortKey()
TableOptionsDefault: no sort key
getSortKey in interface TableOptionspublic final StreamViewType getStream()
TableOptionsDefault: - streams are disabled unless `replicationRegions` is specified
getStream in interface TableOptionspublic final String getTimeToLiveAttribute()
TableOptionsDefault: - TTL is disabled
getTimeToLiveAttribute in interface TableOptionspublic final Number getWriteCapacity()
TableOptionsCareful if you add Global Secondary Indexes, as those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
Default: 5
getWriteCapacity in interface TableOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.