Class CfnTablePropsMixin.ColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.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.Sets the value ofCfnTablePropsMixin.ColumnProperty.getComment()Sets the value ofCfnTablePropsMixin.ColumnProperty.getName()Sets the value ofCfnTablePropsMixin.ColumnProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
Sets the value ofCfnTablePropsMixin.ColumnProperty.getComment()- Parameters:
comment- A free-form text comment.- Returns:
this
-
name
Sets the value ofCfnTablePropsMixin.ColumnProperty.getName()- Parameters:
name- The name of theColumn.- Returns:
this
-
type
Sets the value ofCfnTablePropsMixin.ColumnProperty.getType()- Parameters:
type- The data type of theColumn.- 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
-