Class CfnTable.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnTable.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable>
- Enclosing class:
- CfnTable
@Stability(Stable)
public static final class CfnTable.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable>
A fluent builder for
CfnTable.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The ID of the Data Catalog in which to create theTable.static CfnTable.BuilderdatabaseName(String databaseName) The name of the database where the table metadata resides.tableInput(IResolvable tableInput) A structure used to define a table.tableInput(CfnTable.TableInputProperty tableInput) A structure used to define a table.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnTable.Builder.
-
catalogId
The ID of the Data Catalog in which to create theTable.- Parameters:
catalogId- The ID of the Data Catalog in which to create theTable. This parameter is required.- Returns:
this
-
databaseName
The name of the database where the table metadata resides.For Hive compatibility, this must be all lowercase.
- Parameters:
databaseName- The name of the database where the table metadata resides. This parameter is required.- Returns:
this
-
tableInput
A structure used to define a table.- Parameters:
tableInput- A structure used to define a table. This parameter is required.- Returns:
this
-
tableInput
A structure used to define a table.- Parameters:
tableInput- A structure used to define a table. This parameter is required.- Returns:
this
-
build
-