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