Class CfnTableOptimizerPropsMixin.IcebergConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnTableOptimizerPropsMixin.IcebergConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableOptimizerPropsMixin.IcebergConfigurationProperty>
- Enclosing interface:
CfnTableOptimizerPropsMixin.IcebergConfigurationProperty
@Stability(Stable)
public static final class CfnTableOptimizerPropsMixin.IcebergConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableOptimizerPropsMixin.IcebergConfigurationProperty>
A builder for
CfnTableOptimizerPropsMixin.IcebergConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTableOptimizerPropsMixin.IcebergConfigurationProperty.getLocation()orphanFileRetentionPeriodInDays(Number orphanFileRetentionPeriodInDays)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
@Stability(Stable) public CfnTableOptimizerPropsMixin.IcebergConfigurationProperty.Builder location(String location) Sets the value ofCfnTableOptimizerPropsMixin.IcebergConfigurationProperty.getLocation()- Parameters:
location- Specifies a directory in which to look for orphan files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.- Returns:
this
-
orphanFileRetentionPeriodInDays
@Stability(Stable) public CfnTableOptimizerPropsMixin.IcebergConfigurationProperty.Builder orphanFileRetentionPeriodInDays(Number orphanFileRetentionPeriodInDays) Sets the value ofCfnTableOptimizerPropsMixin.IcebergConfigurationProperty.getOrphanFileRetentionPeriodInDays()- Parameters:
orphanFileRetentionPeriodInDays- The specific number of days you want to keep the orphan files.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableOptimizerPropsMixin.IcebergConfigurationProperty>- Returns:
- a new instance of
CfnTableOptimizerPropsMixin.IcebergConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-