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