Class Column.Builder
java.lang.Object
software.amazon.awscdk.services.glue.Column.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Column>
- Enclosing interface:
- Column
@Stability(Experimental)
public static final class Column.Builder
extends Object
implements software.amazon.jsii.Builder<Column>
A builder for
Column-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofColumn.getComment()Sets the value ofColumn.getName()Sets the value ofColumn.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofColumn.getName()- Parameters:
name- Name of the column. This parameter is required.- Returns:
this
-
type
Sets the value ofColumn.getType()- Parameters:
type- Type of the column. This parameter is required.- Returns:
this
-
comment
Sets the value ofColumn.getComment()- Parameters:
comment- Coment describing the column.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Column>- Returns:
- a new instance of
Column - Throws:
NullPointerException- if any required attribute was not provided
-