![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.dataprotection.kotlin.inputs.AzureRetentionRuleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.dataprotection.kotlin.inputs
import com.pulumi.azurenative.dataprotection.inputs.AzureRetentionRuleArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Azure retention rule
* @property isDefault
* @property lifecycles
* @property name
* @property objectType
* Expected value is 'AzureRetentionRule'.
*/
public data class AzureRetentionRuleArgs(
public val isDefault: Output? = null,
public val lifecycles: Output>,
public val name: Output,
public val objectType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.dataprotection.inputs.AzureRetentionRuleArgs =
com.pulumi.azurenative.dataprotection.inputs.AzureRetentionRuleArgs.builder()
.isDefault(isDefault?.applyValue({ args0 -> args0 }))
.lifecycles(
lifecycles.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.objectType(objectType.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureRetentionRuleArgs].
*/
@PulumiTagMarker
public class AzureRetentionRuleArgsBuilder internal constructor() {
private var isDefault: Output? = null
private var lifecycles: Output>? = null
private var name: Output? = null
private var objectType: Output? = null
/**
* @param value
*/
@JvmName("jkkttcvepffkkhry")
public suspend fun isDefault(`value`: Output) {
this.isDefault = value
}
/**
* @param value
*/
@JvmName("brbsxirgxakimima")
public suspend fun lifecycles(`value`: Output>) {
this.lifecycles = value
}
@JvmName("xpxojuymajswqpoq")
public suspend fun lifecycles(vararg values: Output) {
this.lifecycles = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("xqoykwfjrichfphc")
public suspend fun lifecycles(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy