@Stability(value=Stable) public static final class CfnTable.BillingModeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTable.BillingModeProperty>
CfnTable.BillingModeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTable.BillingModeProperty |
build()
Builds the configured instance.
|
CfnTable.BillingModeProperty.Builder |
mode(String mode)
Sets the value of
CfnTable.BillingModeProperty.getMode() |
CfnTable.BillingModeProperty.Builder |
provisionedThroughput(CfnTable.ProvisionedThroughputProperty provisionedThroughput)
Sets the value of
CfnTable.BillingModeProperty.getProvisionedThroughput() |
CfnTable.BillingModeProperty.Builder |
provisionedThroughput(IResolvable provisionedThroughput)
Sets the value of
CfnTable.BillingModeProperty.getProvisionedThroughput() |
@Stability(value=Stable) public CfnTable.BillingModeProperty.Builder mode(String mode)
CfnTable.BillingModeProperty.getMode()mode - The billing mode for the table:. This parameter is required.
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
this@Stability(value=Stable) public CfnTable.BillingModeProperty.Builder provisionedThroughput(CfnTable.ProvisionedThroughputProperty provisionedThroughput)
CfnTable.BillingModeProperty.getProvisionedThroughput()provisionedThroughput - The provisioned read capacity and write capacity for the table.
For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .this@Stability(value=Stable) public CfnTable.BillingModeProperty.Builder provisionedThroughput(IResolvable provisionedThroughput)
CfnTable.BillingModeProperty.getProvisionedThroughput()provisionedThroughput - The provisioned read capacity and write capacity for the table.
For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .this@Stability(value=Stable) public CfnTable.BillingModeProperty build()
build in interface software.amazon.jsii.Builder<CfnTable.BillingModeProperty>CfnTable.BillingModePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.