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.Builder
databaseName
(String databaseName) The name of the database where the table metadata resides.openTableFormatInput
(IResolvable openTableFormatInput) Specifies anOpenTableFormatInput
structure when creating an open format table.openTableFormatInput
(CfnTable.OpenTableFormatInputProperty openTableFormatInput) Specifies anOpenTableFormatInput
structure when creating an open format table.tableInput
(IResolvable tableInput) A structure used to define a table.tableInput
(CfnTable.TableInputProperty tableInput) A structure used to define a table.
-
Method Details
-
create
@Stability(Stable) public static CfnTable.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
tableInput
A structure used to define a table.- Parameters:
tableInput
- A structure used to define a table. This parameter is required.- Returns:
this
- See Also:
-
tableInput
A structure used to define a table.- Parameters:
tableInput
- A structure used to define a table. This parameter is required.- Returns:
this
- See Also:
-
openTableFormatInput
Specifies anOpenTableFormatInput
structure when creating an open format table.- Parameters:
openTableFormatInput
- Specifies anOpenTableFormatInput
structure when creating an open format table. This parameter is required.- Returns:
this
- See Also:
-
openTableFormatInput
@Stability(Stable) public CfnTable.Builder openTableFormatInput(CfnTable.OpenTableFormatInputProperty openTableFormatInput) Specifies anOpenTableFormatInput
structure when creating an open format table.- Parameters:
openTableFormatInput
- Specifies anOpenTableFormatInput
structure when creating an open format table. This parameter is required.- Returns:
this
- See Also:
-
build
-