@Stability(value=Stable)
public static interface CfnTable.BillingModeProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cassandra.*;
BillingModeProperty billingModeProperty = BillingModeProperty.builder()
.mode("mode")
// the properties below are optional
.provisionedThroughput(ProvisionedThroughputProperty.builder()
.readCapacityUnits(123)
.writeCapacityUnits(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTable.BillingModeProperty.Builder
A builder for
CfnTable.BillingModeProperty |
static class |
CfnTable.BillingModeProperty.Jsii$Proxy
An implementation for
CfnTable.BillingModeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTable.BillingModeProperty.Builder |
builder() |
String |
getMode()
The billing mode for the table:.
|
default Object |
getProvisionedThroughput()
The provisioned read capacity and write capacity for the table.
|
@Stability(value=Stable) @NotNull String getMode()
ON_DEMANDPROVISIONED
If you choose
PROVISIONEDmode, then you also need to specify provisioned throughput (read and write capacity) for the table.
Valid values: ON_DEMAND | PROVISIONED
@Stability(value=Stable) @Nullable default Object getProvisionedThroughput()
For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .
@Stability(value=Stable) static CfnTable.BillingModeProperty.Builder builder()
Copyright © 2022. All rights reserved.