Class CfnTableMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnTableMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableMixinProps>
- Enclosing interface:
CfnTableMixinProps
@Stability(Stable)
public static final class CfnTableMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableMixinProps>
A builder for
CfnTableMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTableMixinProps.getCatalogId()databaseName(String databaseName) Sets the value ofCfnTableMixinProps.getDatabaseName()openTableFormatInput(CfnTablePropsMixin.OpenTableFormatInputProperty openTableFormatInput) Sets the value ofCfnTableMixinProps.getOpenTableFormatInput()openTableFormatInput(IResolvable openTableFormatInput) Sets the value ofCfnTableMixinProps.getOpenTableFormatInput()tableInput(CfnTablePropsMixin.TableInputProperty tableInput) Sets the value ofCfnTableMixinProps.getTableInput()tableInput(IResolvable tableInput) Sets the value ofCfnTableMixinProps.getTableInput()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
Sets the value ofCfnTableMixinProps.getCatalogId()- Parameters:
catalogId- The ID of the Data Catalog in which to create theTable.- Returns:
this
-
databaseName
Sets the value ofCfnTableMixinProps.getDatabaseName()- Parameters:
databaseName- The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase.- Returns:
this
-
openTableFormatInput
@Stability(Stable) public CfnTableMixinProps.Builder openTableFormatInput(IResolvable openTableFormatInput) Sets the value ofCfnTableMixinProps.getOpenTableFormatInput()- Parameters:
openTableFormatInput- Specifies anOpenTableFormatInputstructure when creating an open format table.- Returns:
this
-
openTableFormatInput
@Stability(Stable) public CfnTableMixinProps.Builder openTableFormatInput(CfnTablePropsMixin.OpenTableFormatInputProperty openTableFormatInput) Sets the value ofCfnTableMixinProps.getOpenTableFormatInput()- Parameters:
openTableFormatInput- Specifies anOpenTableFormatInputstructure when creating an open format table.- Returns:
this
-
tableInput
Sets the value ofCfnTableMixinProps.getTableInput()- Parameters:
tableInput- A structure used to define a table.- Returns:
this
-
tableInput
@Stability(Stable) public CfnTableMixinProps.Builder tableInput(CfnTablePropsMixin.TableInputProperty tableInput) Sets the value ofCfnTableMixinProps.getTableInput()- Parameters:
tableInput- A structure used to define a table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableMixinProps>- Returns:
- a new instance of
CfnTableMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-