com.pulumi.aws.s3tables.kotlin.inputs.TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.s3tables.kotlin.inputs
import com.pulumi.aws.s3tables.inputs.TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property nonCurrentDays Data objects marked for deletion are deleted after this many days.
* Must be at least `1`.
* @property unreferencedDays Unreferenced data objects are marked for deletion after this many days.
* Must be at least `1`.
*/
public data class TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettingsArgs(
public val nonCurrentDays: Output,
public val unreferencedDays: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.s3tables.inputs.TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettingsArgs =
com.pulumi.aws.s3tables.inputs.TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettingsArgs.builder()
.nonCurrentDays(nonCurrentDays.applyValue({ args0 -> args0 }))
.unreferencedDays(unreferencedDays.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettingsArgs].
*/
@PulumiTagMarker
public class TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettingsArgsBuilder
internal constructor() {
private var nonCurrentDays: Output? = null
private var unreferencedDays: Output? = null
/**
* @param value Data objects marked for deletion are deleted after this many days.
* Must be at least `1`.
*/
@JvmName("npitrwrfbiantjob")
public suspend fun nonCurrentDays(`value`: Output) {
this.nonCurrentDays = value
}
/**
* @param value Unreferenced data objects are marked for deletion after this many days.
* Must be at least `1`.
*/
@JvmName("rosqnekjkwhflria")
public suspend fun unreferencedDays(`value`: Output) {
this.unreferencedDays = value
}
/**
* @param value Data objects marked for deletion are deleted after this many days.
* Must be at least `1`.
*/
@JvmName("unepoduxcsmlysdo")
public suspend fun nonCurrentDays(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.nonCurrentDays = mapped
}
/**
* @param value Unreferenced data objects are marked for deletion after this many days.
* Must be at least `1`.
*/
@JvmName("gqsfjdyceoakqyfn")
public suspend fun unreferencedDays(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.unreferencedDays = mapped
}
internal fun build(): TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettingsArgs =
TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettingsArgs(
nonCurrentDays = nonCurrentDays ?: throw PulumiNullFieldException("nonCurrentDays"),
unreferencedDays = unreferencedDays ?: throw PulumiNullFieldException("unreferencedDays"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy