Class CfnTableOptimizer.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnTableOptimizer.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableOptimizer>
- Enclosing class:
CfnTableOptimizer
@Stability(Stable)
public static final class CfnTableOptimizer.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableOptimizer>
A fluent builder for
CfnTableOptimizer
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The catalog ID of the table.static CfnTableOptimizer.Builder
databaseName
(String databaseName) The name of the database.The table name.tableOptimizerConfiguration
(IResolvable tableOptimizerConfiguration) Specifies configuration details of a table optimizer.tableOptimizerConfiguration
(CfnTableOptimizer.TableOptimizerConfigurationProperty tableOptimizerConfiguration) Specifies configuration details of a table optimizer.The type of table optimizer.
-
Method Details
-
create
@Stability(Stable) public static CfnTableOptimizer.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
CfnTableOptimizer.Builder
.
-
catalogId
The catalog ID of the table.- Parameters:
catalogId
- The catalog ID of the table. This parameter is required.- Returns:
this
- See Also:
-
databaseName
The name of the database.For Hive compatibility, this is folded to lowercase when it is stored.
- Parameters:
databaseName
- The name of the database. This parameter is required.- Returns:
this
- See Also:
-
tableName
The table name.For Hive compatibility, this must be entirely lowercase.
- Parameters:
tableName
- The table name. This parameter is required.- Returns:
this
- See Also:
-
tableOptimizerConfiguration
@Stability(Stable) public CfnTableOptimizer.Builder tableOptimizerConfiguration(IResolvable tableOptimizerConfiguration) Specifies configuration details of a table optimizer.- Parameters:
tableOptimizerConfiguration
- Specifies configuration details of a table optimizer. This parameter is required.- Returns:
this
- See Also:
-
tableOptimizerConfiguration
@Stability(Stable) public CfnTableOptimizer.Builder tableOptimizerConfiguration(CfnTableOptimizer.TableOptimizerConfigurationProperty tableOptimizerConfiguration) Specifies configuration details of a table optimizer.- Parameters:
tableOptimizerConfiguration
- Specifies configuration details of a table optimizer. This parameter is required.- Returns:
this
- See Also:
-
type
The type of table optimizer.Currently, the only valid value is compaction.
- Parameters:
type
- The type of table optimizer. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTableOptimizer>
- Returns:
- a newly built instance of
CfnTableOptimizer
.
-