com.pulumi.azure.dataprotection.kotlin.inputs.BackupPolicyDiskRetentionRuleCriteriaArgs.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.dataprotection.kotlin.inputs
import com.pulumi.azure.dataprotection.inputs.BackupPolicyDiskRetentionRuleCriteriaArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property absoluteCriteria Possible values are `FirstOfDay` and `FirstOfWeek`. Changing this forces a new Backup Policy Disk to be created.
*/
public data class BackupPolicyDiskRetentionRuleCriteriaArgs(
public val absoluteCriteria: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.dataprotection.inputs.BackupPolicyDiskRetentionRuleCriteriaArgs =
com.pulumi.azure.dataprotection.inputs.BackupPolicyDiskRetentionRuleCriteriaArgs.builder()
.absoluteCriteria(absoluteCriteria?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BackupPolicyDiskRetentionRuleCriteriaArgs].
*/
@PulumiTagMarker
public class BackupPolicyDiskRetentionRuleCriteriaArgsBuilder internal constructor() {
private var absoluteCriteria: Output? = null
/**
* @param value Possible values are `FirstOfDay` and `FirstOfWeek`. Changing this forces a new Backup Policy Disk to be created.
*/
@JvmName("nymkhjqrmnwdwdbr")
public suspend fun absoluteCriteria(`value`: Output) {
this.absoluteCriteria = value
}
/**
* @param value Possible values are `FirstOfDay` and `FirstOfWeek`. Changing this forces a new Backup Policy Disk to be created.
*/
@JvmName("fgujbxfncswtagpp")
public suspend fun absoluteCriteria(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.absoluteCriteria = mapped
}
internal fun build(): BackupPolicyDiskRetentionRuleCriteriaArgs =
BackupPolicyDiskRetentionRuleCriteriaArgs(
absoluteCriteria = absoluteCriteria,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy