Class CfnTablePropsMixin.ColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cassandra.CfnTablePropsMixin.ColumnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.ColumnProperty>
- Enclosing interface:
CfnTablePropsMixin.ColumnProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.ColumnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.ColumnProperty>
A builder for
CfnTablePropsMixin.ColumnProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.columnName(String columnName) Sets the value ofCfnTablePropsMixin.ColumnProperty.getColumnName()columnType(String columnType) Sets the value ofCfnTablePropsMixin.ColumnProperty.getColumnType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnName
Sets the value ofCfnTablePropsMixin.ColumnProperty.getColumnName()- Parameters:
columnName- The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .- Returns:
this
-
columnType
Sets the value ofCfnTablePropsMixin.ColumnProperty.getColumnType()- Parameters:
columnType- The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.ColumnProperty>- Returns:
- a new instance of
CfnTablePropsMixin.ColumnProperty - Throws:
NullPointerException- if any required attribute was not provided
-