Class CfnTable.ColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTable.ColumnProperty.getComment()Sets the value ofCfnTable.ColumnProperty.getName()Sets the value ofCfnTable.ColumnProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnTable.ColumnProperty.getName()- Parameters:
name- The name of theColumn. This parameter is required.- Returns:
this
-
comment
Sets the value ofCfnTable.ColumnProperty.getComment()- Parameters:
comment- A free-form text comment.- Returns:
this
-
type
Sets the value ofCfnTable.ColumnProperty.getType()- Parameters:
type- The data type of theColumn.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTable.ColumnProperty>- Returns:
- a new instance of
CfnTable.ColumnProperty - Throws:
NullPointerException- if any required attribute was not provided
-