Interface CfnTable.ColumnProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.ColumnProperty.Jsii$Proxy
- Enclosing class:
CfnTable
@Stability(Stable)
public static interface CfnTable.ColumnProperty
extends software.amazon.jsii.JsiiSerializable
The name and data type of an individual column in a table.
In addition to the data type, you can also use the following two keywords:
STATIC
if the table has a clustering column. Static columns store values that are shared by all rows in the same partition.FROZEN
for collection data types. In frozen collections the values of the collection are serialized into a single immutable value, and Amazon Keyspaces treats them like aBLOB
.
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.*; ColumnProperty columnProperty = ColumnProperty.builder() .columnName("columnName") .columnType("columnType") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTable.ColumnProperty
static final class
An implementation forCfnTable.ColumnProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getColumnName
The name of the column.For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- See Also:
-
getColumnType
The data type of the column.For more information, see Data types in the Amazon Keyspaces Developer Guide .
- See Also:
-
builder
- Returns:
- a
CfnTable.ColumnProperty.Builder
ofCfnTable.ColumnProperty
-