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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTableProps.getCatalogId()
databaseName
(String databaseName) Sets the value ofCfnTableProps.getDatabaseName()
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
-
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
-