@Stability(value=Stable) public static final class CfnTableProps.Builder extends Object implements software.amazon.jsii.Builder<CfnTableProps>
CfnTableProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnTableProps.Builder keyspaceName(String keyspaceName)
CfnTableProps.getKeyspaceName()keyspaceName - The name of the keyspace in which to create the table. This parameter is required.
The keyspace must already exist.this@Stability(value=Stable) public CfnTableProps.Builder partitionKeyColumns(IResolvable partitionKeyColumns)
CfnTableProps.getPartitionKeyColumns()partitionKeyColumns - One or more columns that uniquely identify every row in the table. This parameter is required.
Every table must have a partition key.this@Stability(value=Stable) public CfnTableProps.Builder partitionKeyColumns(List<? extends Object> partitionKeyColumns)
CfnTableProps.getPartitionKeyColumns()partitionKeyColumns - One or more columns that uniquely identify every row in the table. This parameter is required.
Every table must have a partition key.this@Stability(value=Stable) public CfnTableProps.Builder billingMode(CfnTable.BillingModeProperty billingMode)
CfnTableProps.getBillingMode()billingMode - The billing mode for the table, which determines how you'll be charged for reads and writes:.
If you don't specify a value for this property, then the table will use on-demand mode.
this@Stability(value=Stable) public CfnTableProps.Builder billingMode(IResolvable billingMode)
CfnTableProps.getBillingMode()billingMode - The billing mode for the table, which determines how you'll be charged for reads and writes:.
If you don't specify a value for this property, then the table will use on-demand mode.
this@Stability(value=Stable) public CfnTableProps.Builder clusteringKeyColumns(IResolvable clusteringKeyColumns)
CfnTableProps.getClusteringKeyColumns()clusteringKeyColumns - One or more columns that determine how the table data is sorted.this@Stability(value=Stable) public CfnTableProps.Builder clusteringKeyColumns(List<? extends Object> clusteringKeyColumns)
CfnTableProps.getClusteringKeyColumns()clusteringKeyColumns - One or more columns that determine how the table data is sorted.this@Stability(value=Stable) public CfnTableProps.Builder defaultTimeToLive(Number defaultTimeToLive)
CfnTableProps.getDefaultTimeToLive()defaultTimeToLive - The default Time To Live (TTL) value for all rows in a table in seconds.
The maximum configurable value is 630,720,000 seconds, which is the equivalent of 20 years. By default, the TTL value for a table is 0, which means data does not expire.
For more information, see Setting the default TTL value for a table in the Amazon Keyspaces Developer Guide .
this@Stability(value=Stable) public CfnTableProps.Builder encryptionSpecification(CfnTable.EncryptionSpecificationProperty encryptionSpecification)
CfnTableProps.getEncryptionSpecification()encryptionSpecification - The encryption at rest options for the table.
If you choose encryption with a customer managed key, you must specify a valid customer managed KMS key with permissions granted to Amazon Keyspaces.
For more information, see Encryption at rest in Amazon Keyspaces in the Amazon Keyspaces Developer Guide .
this@Stability(value=Stable) public CfnTableProps.Builder encryptionSpecification(IResolvable encryptionSpecification)
CfnTableProps.getEncryptionSpecification()encryptionSpecification - The encryption at rest options for the table.
If you choose encryption with a customer managed key, you must specify a valid customer managed KMS key with permissions granted to Amazon Keyspaces.
For more information, see Encryption at rest in Amazon Keyspaces in the Amazon Keyspaces Developer Guide .
this@Stability(value=Stable) public CfnTableProps.Builder pointInTimeRecoveryEnabled(Boolean pointInTimeRecoveryEnabled)
CfnTableProps.getPointInTimeRecoveryEnabled()pointInTimeRecoveryEnabled - Specifies if point-in-time recovery is enabled or disabled for the table.
The options are PointInTimeRecoveryEnabled=true and PointInTimeRecoveryEnabled=false . If not specified, the default is PointInTimeRecoveryEnabled=false .this@Stability(value=Stable) public CfnTableProps.Builder pointInTimeRecoveryEnabled(IResolvable pointInTimeRecoveryEnabled)
CfnTableProps.getPointInTimeRecoveryEnabled()pointInTimeRecoveryEnabled - Specifies if point-in-time recovery is enabled or disabled for the table.
The options are PointInTimeRecoveryEnabled=true and PointInTimeRecoveryEnabled=false . If not specified, the default is PointInTimeRecoveryEnabled=false .this@Stability(value=Stable) public CfnTableProps.Builder regularColumns(IResolvable regularColumns)
CfnTableProps.getRegularColumns()regularColumns - One or more columns that are not part of the primary key - that is, columns that are *not* defined as partition key columns or clustering key columns.
You can add regular columns to existing tables by adding them to the template.this@Stability(value=Stable) public CfnTableProps.Builder regularColumns(List<? extends Object> regularColumns)
CfnTableProps.getRegularColumns()regularColumns - One or more columns that are not part of the primary key - that is, columns that are *not* defined as partition key columns or clustering key columns.
You can add regular columns to existing tables by adding them to the template.this@Stability(value=Stable) public CfnTableProps.Builder tableName(String tableName)
CfnTableProps.getTableName()tableName - The name of the table to be created.
The table name is case sensitive. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the table name. For more information, see Name type .
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
Length constraints: Minimum length of 3. Maximum length of 255.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$
this@Stability(value=Stable) public CfnTableProps.Builder tags(List<? extends CfnTag> tags)
CfnTableProps.getTags()tags - A list of key-value pair tags to be attached to the resource.this@Stability(value=Stable) public CfnTableProps build()
build in interface software.amazon.jsii.Builder<CfnTableProps>CfnTablePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.