Class Column.Builder

java.lang.Object
software.amazon.awscdk.services.glue.alpha.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 Details

    • Builder

      public Builder()
  • Method Details

    • name

      @Stability(Experimental) public Column.Builder name(String name)
      Sets the value of Column.getName()
      Parameters:
      name - Name of the column. This parameter is required.
      Returns:
      this
    • type

      @Stability(Experimental) public Column.Builder type(Type type)
      Sets the value of Column.getType()
      Parameters:
      type - Type of the column. This parameter is required.
      Returns:
      this
    • comment

      @Stability(Experimental) public Column.Builder comment(String comment)
      Sets the value of Column.getComment()
      Parameters:
      comment - Coment describing the column.
      Returns:
      this
    • build

      @Stability(Experimental) public Column build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<Column>
      Returns:
      a new instance of Column
      Throws:
      NullPointerException - if any required attribute was not provided