Class CfnTableOptimizerMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnTableOptimizerMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableOptimizerMixinProps>
- Enclosing interface:
CfnTableOptimizerMixinProps
@Stability(Stable)
public static final class CfnTableOptimizerMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableOptimizerMixinProps>
A builder for
CfnTableOptimizerMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTableOptimizerMixinProps.getCatalogId()databaseName(String databaseName) Sets the value ofCfnTableOptimizerMixinProps.getDatabaseName()Sets the value ofCfnTableOptimizerMixinProps.getTableName()tableOptimizerConfiguration(CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty tableOptimizerConfiguration) Sets the value ofCfnTableOptimizerMixinProps.getTableOptimizerConfiguration()tableOptimizerConfiguration(IResolvable tableOptimizerConfiguration) Sets the value ofCfnTableOptimizerMixinProps.getTableOptimizerConfiguration()Sets the value ofCfnTableOptimizerMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
Sets the value ofCfnTableOptimizerMixinProps.getCatalogId()- Parameters:
catalogId- The catalog ID of the table.- Returns:
this
-
databaseName
Sets the value ofCfnTableOptimizerMixinProps.getDatabaseName()- Parameters:
databaseName- The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.- Returns:
this
-
tableName
Sets the value ofCfnTableOptimizerMixinProps.getTableName()- Parameters:
tableName- The table name. For Hive compatibility, this must be entirely lowercase.- Returns:
this
-
tableOptimizerConfiguration
@Stability(Stable) public CfnTableOptimizerMixinProps.Builder tableOptimizerConfiguration(IResolvable tableOptimizerConfiguration) Sets the value ofCfnTableOptimizerMixinProps.getTableOptimizerConfiguration()- Parameters:
tableOptimizerConfiguration- Specifies configuration details of a table optimizer.- Returns:
this
-
tableOptimizerConfiguration
@Stability(Stable) public CfnTableOptimizerMixinProps.Builder tableOptimizerConfiguration(CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty tableOptimizerConfiguration) Sets the value ofCfnTableOptimizerMixinProps.getTableOptimizerConfiguration()- Parameters:
tableOptimizerConfiguration- Specifies configuration details of a table optimizer.- Returns:
this
-
type
Sets the value ofCfnTableOptimizerMixinProps.getType()- Parameters:
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.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableOptimizerMixinProps>- Returns:
- a new instance of
CfnTableOptimizerMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-