CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfigurationArgs

data class CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfigurationArgs(val cleanExpiredFiles: Output<Boolean>? = null, val numberOfSnapshotsToRetain: Output<Int>? = null, val snapshotRetentionPeriodInDays: Output<Int>? = null) : ConvertibleToJava<CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfigurationArgs>

Constructors

constructor(cleanExpiredFiles: Output<Boolean>? = null, numberOfSnapshotsToRetain: Output<Int>? = null, snapshotRetentionPeriodInDays: Output<Int>? = null)

Properties

Link copied to clipboard
val cleanExpiredFiles: Output<Boolean>? = null

If set to false, snapshots are only deleted from table metadata, and the underlying data and metadata files are not deleted. Defaults to false.

Link copied to clipboard
val numberOfSnapshotsToRetain: Output<Int>? = null

The number of Iceberg snapshots to retain within the retention period. Defaults to 1 or the corresponding Iceberg table configuration field if it exists.

Link copied to clipboard
val snapshotRetentionPeriodInDays: Output<Int>? = null

The number of days to retain the Iceberg snapshots. Defaults to 5, or the corresponding Iceberg table configuration field if it exists.

Functions

Link copied to clipboard
open override fun toJava(): CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfigurationArgs