Class CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty>
- Enclosing interface:
CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty
@Stability(Stable)
public static final class CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cleanExpiredFiles(Boolean cleanExpiredFiles) cleanExpiredFiles(IResolvable cleanExpiredFiles) numberOfSnapshotsToRetain(Number numberOfSnapshotsToRetain) snapshotRetentionPeriodInDays(Number snapshotRetentionPeriodInDays)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cleanExpiredFiles
@Stability(Stable) public CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.Builder cleanExpiredFiles(Boolean cleanExpiredFiles) Sets the value ofCfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.getCleanExpiredFiles()- Parameters:
cleanExpiredFiles- the value to be set.- Returns:
this
-
cleanExpiredFiles
@Stability(Stable) public CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.Builder cleanExpiredFiles(IResolvable cleanExpiredFiles) Sets the value ofCfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.getCleanExpiredFiles()- Parameters:
cleanExpiredFiles- the value to be set.- Returns:
this
-
numberOfSnapshotsToRetain
@Stability(Stable) public CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.Builder numberOfSnapshotsToRetain(Number numberOfSnapshotsToRetain) Sets the value ofCfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.getNumberOfSnapshotsToRetain()- Parameters:
numberOfSnapshotsToRetain- the value to be set.- Returns:
this
-
snapshotRetentionPeriodInDays
@Stability(Stable) public CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.Builder snapshotRetentionPeriodInDays(Number snapshotRetentionPeriodInDays) Sets the value ofCfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty.getSnapshotRetentionPeriodInDays()- Parameters:
snapshotRetentionPeriodInDays- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty>- Returns:
- a new instance of
CfnTableOptimizerPropsMixin.IcebergRetentionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-