
com.pulumi.azurenative.keyvault.kotlin.inputs.KeyRotationPolicyAttributesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.keyvault.kotlin.inputs
import com.pulumi.azurenative.keyvault.inputs.KeyRotationPolicyAttributesArgs.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 expiryTime The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
*/
public data class KeyRotationPolicyAttributesArgs(
public val expiryTime: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.keyvault.inputs.KeyRotationPolicyAttributesArgs =
com.pulumi.azurenative.keyvault.inputs.KeyRotationPolicyAttributesArgs.builder()
.expiryTime(expiryTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KeyRotationPolicyAttributesArgs].
*/
@PulumiTagMarker
public class KeyRotationPolicyAttributesArgsBuilder internal constructor() {
private var expiryTime: Output? = null
/**
* @param value The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
*/
@JvmName("wxmiokinxwvauiuw")
public suspend fun expiryTime(`value`: Output) {
this.expiryTime = value
}
/**
* @param value The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
*/
@JvmName("dyyxriqsxhpyyfqa")
public suspend fun expiryTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.expiryTime = mapped
}
internal fun build(): KeyRotationPolicyAttributesArgs = KeyRotationPolicyAttributesArgs(
expiryTime = expiryTime,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy