![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.storage.kotlin.inputs.AccountBlobPropertiesContainerDeleteRetentionPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.storage.kotlin.inputs
import com.pulumi.azure.storage.inputs.AccountBlobPropertiesContainerDeleteRetentionPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property days Specifies the number of days that the container should be retained, between `1` and `365` days. Defaults to `7`.
*/
public data class AccountBlobPropertiesContainerDeleteRetentionPolicyArgs(
public val days: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.storage.inputs.AccountBlobPropertiesContainerDeleteRetentionPolicyArgs =
com.pulumi.azure.storage.inputs.AccountBlobPropertiesContainerDeleteRetentionPolicyArgs.builder()
.days(days?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccountBlobPropertiesContainerDeleteRetentionPolicyArgs].
*/
@PulumiTagMarker
public class AccountBlobPropertiesContainerDeleteRetentionPolicyArgsBuilder internal constructor() {
private var days: Output? = null
/**
* @param value Specifies the number of days that the container should be retained, between `1` and `365` days. Defaults to `7`.
*/
@JvmName("rxlemepkegqjppuy")
public suspend fun days(`value`: Output) {
this.days = value
}
/**
* @param value Specifies the number of days that the container should be retained, between `1` and `365` days. Defaults to `7`.
*/
@JvmName("jwiiihppdfkwdqyf")
public suspend fun days(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.days = mapped
}
internal fun build(): AccountBlobPropertiesContainerDeleteRetentionPolicyArgs =
AccountBlobPropertiesContainerDeleteRetentionPolicyArgs(
days = days,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy