![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.keyvault.kotlin.inputs.RotationPolicyArgs.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.keyvault.kotlin.inputs
import com.pulumi.azurenative.keyvault.inputs.RotationPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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 attributes The attributes of key rotation policy.
* @property lifetimeActions The lifetimeActions for key rotation action.
*/
public data class RotationPolicyArgs(
public val attributes: Output? = null,
public val lifetimeActions: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.keyvault.inputs.RotationPolicyArgs =
com.pulumi.azurenative.keyvault.inputs.RotationPolicyArgs.builder()
.attributes(attributes?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.lifetimeActions(
lifetimeActions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [RotationPolicyArgs].
*/
@PulumiTagMarker
public class RotationPolicyArgsBuilder internal constructor() {
private var attributes: Output? = null
private var lifetimeActions: Output>? = null
/**
* @param value The attributes of key rotation policy.
*/
@JvmName("dyidfljqgmfcukak")
public suspend fun attributes(`value`: Output) {
this.attributes = value
}
/**
* @param value The lifetimeActions for key rotation action.
*/
@JvmName("ouljqmhaoxbqotcw")
public suspend fun lifetimeActions(`value`: Output>) {
this.lifetimeActions = value
}
@JvmName("luffmvufvbbdwqqm")
public suspend fun lifetimeActions(vararg values: Output) {
this.lifetimeActions = Output.all(values.asList())
}
/**
* @param values The lifetimeActions for key rotation action.
*/
@JvmName("hkftqrcineqweocw")
public suspend fun lifetimeActions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy