Class CfnTablePropsMixin.ClusteringKeyColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cassandra.CfnTablePropsMixin.ClusteringKeyColumnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.ClusteringKeyColumnProperty>
- Enclosing interface:
CfnTablePropsMixin.ClusteringKeyColumnProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.ClusteringKeyColumnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.ClusteringKeyColumnProperty>
A builder for
CfnTablePropsMixin.ClusteringKeyColumnProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTablePropsMixin.ClusteringKeyColumnProperty.getColumn()column(IResolvable column) Sets the value ofCfnTablePropsMixin.ClusteringKeyColumnProperty.getColumn()Sets the value ofCfnTablePropsMixin.ClusteringKeyColumnProperty.getOrderBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
column
@Stability(Stable) public CfnTablePropsMixin.ClusteringKeyColumnProperty.Builder column(IResolvable column) Sets the value ofCfnTablePropsMixin.ClusteringKeyColumnProperty.getColumn()- Parameters:
column- The name and data type of this clustering key column.- Returns:
this
-
column
@Stability(Stable) public CfnTablePropsMixin.ClusteringKeyColumnProperty.Builder column(CfnTablePropsMixin.ColumnProperty column) Sets the value ofCfnTablePropsMixin.ClusteringKeyColumnProperty.getColumn()- Parameters:
column- The name and data type of this clustering key column.- Returns:
this
-
orderBy
@Stability(Stable) public CfnTablePropsMixin.ClusteringKeyColumnProperty.Builder orderBy(String orderBy) Sets the value ofCfnTablePropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.ClusteringKeyColumnProperty>- Returns:
- a new instance of
CfnTablePropsMixin.ClusteringKeyColumnProperty - Throws:
NullPointerException- if any required attribute was not provided
-