com.pulumi.azure.dataprotection.kotlin.inputs.BackupPolicyKubernetesClusterDefaultRetentionRuleArgs.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.BackupPolicyKubernetesClusterDefaultRetentionRuleArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property lifeCycles A `life_cycle` block as defined below. Changing this forces a new resource to be created.
*/
public data class BackupPolicyKubernetesClusterDefaultRetentionRuleArgs(
public val lifeCycles:
Output>,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.dataprotection.inputs.BackupPolicyKubernetesClusterDefaultRetentionRuleArgs =
com.pulumi.azure.dataprotection.inputs.BackupPolicyKubernetesClusterDefaultRetentionRuleArgs.builder()
.lifeCycles(
lifeCycles.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [BackupPolicyKubernetesClusterDefaultRetentionRuleArgs].
*/
@PulumiTagMarker
public class BackupPolicyKubernetesClusterDefaultRetentionRuleArgsBuilder internal constructor() {
private var lifeCycles:
Output>? = null
/**
* @param value A `life_cycle` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("vbgdowomoivfqhje")
public suspend
fun lifeCycles(`value`: Output>) {
this.lifeCycles = value
}
@JvmName("gjjsqhvjtwkbmuhb")
public suspend fun lifeCycles(
vararg
values: Output,
) {
this.lifeCycles = Output.all(values.asList())
}
/**
* @param values A `life_cycle` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("kaauolnxfnhxonvt")
public suspend
fun lifeCycles(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy