Class CfnTableOptimizerPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnTableOptimizerPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableOptimizerPropsMixin>
- Enclosing class:
CfnTableOptimizerPropsMixin
@Stability(Stable)
public static final class CfnTableOptimizerPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableOptimizerPropsMixin>
A fluent builder for
CfnTableOptimizerPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The catalog ID of the table.create()create(CfnPropertyMixinOptions options) databaseName(String databaseName) The name of the database.The table name.tableOptimizerConfiguration(CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty tableOptimizerConfiguration) Specifies configuration details of a table optimizer.tableOptimizerConfiguration(IResolvable tableOptimizerConfiguration) Specifies configuration details of a table optimizer.The type of table optimizer.
-
Method Details
-
create
@Stability(Stable) public static CfnTableOptimizerPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTableOptimizerPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTableOptimizerPropsMixin.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 CfnTableOptimizerPropsMixin.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 CfnTableOptimizerPropsMixin.Builder tableOptimizerConfiguration(CfnTableOptimizerPropsMixin.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. The valid values are:.- compaction - for managing compaction with a table optimizer.
- retention - for managing the retention of snapshot with a table optimizer.
- orphan_file_deletion - for managing the deletion of orphan files with a table optimizer.
- Parameters:
type- The type of table optimizer. The valid values are:. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableOptimizerPropsMixin>- Returns:
- a newly built instance of
CfnTableOptimizerPropsMixin.
-