Class CfnTable.ClusteringKeyColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cassandra.CfnTable.ClusteringKeyColumnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.ClusteringKeyColumnProperty>
- Enclosing interface:
CfnTable.ClusteringKeyColumnProperty
@Stability(Stable)
public static final class CfnTable.ClusteringKeyColumnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.ClusteringKeyColumnProperty>
A builder for
CfnTable.ClusteringKeyColumnProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.column
(IResolvable column) Sets the value ofCfnTable.ClusteringKeyColumnProperty.getColumn()
column
(CfnTable.ColumnProperty column) Sets the value ofCfnTable.ClusteringKeyColumnProperty.getColumn()
Sets the value ofCfnTable.ClusteringKeyColumnProperty.getOrderBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
column
Sets the value ofCfnTable.ClusteringKeyColumnProperty.getColumn()
- Parameters:
column
- The name and data type of this clustering key column. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnTable.ClusteringKeyColumnProperty.Builder column(CfnTable.ColumnProperty column) Sets the value ofCfnTable.ClusteringKeyColumnProperty.getColumn()
- Parameters:
column
- The name and data type of this clustering key column. This parameter is required.- Returns:
this
-
orderBy
Sets the value ofCfnTable.ClusteringKeyColumnProperty.getOrderBy()
- Parameters:
orderBy
- The order in which this column's data is stored:.ASC
(default) - The column's data is stored in ascending order.DESC
- The column's data is stored in descending order.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTable.ClusteringKeyColumnProperty>
- Returns:
- a new instance of
CfnTable.ClusteringKeyColumnProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-