All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.keyvault.kotlin.inputs.CertificateCertificatePolicyLifetimeActionActionArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.keyvault.kotlin.inputs

import com.pulumi.azure.keyvault.inputs.CertificateCertificatePolicyLifetimeActionActionArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property actionType The Type of action to be performed when the lifetime trigger is triggerec. Possible values include `AutoRenew` and `EmailContacts`.
 */
public data class CertificateCertificatePolicyLifetimeActionActionArgs(
    public val actionType: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.keyvault.inputs.CertificateCertificatePolicyLifetimeActionActionArgs =
        com.pulumi.azure.keyvault.inputs.CertificateCertificatePolicyLifetimeActionActionArgs.builder()
            .actionType(actionType.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CertificateCertificatePolicyLifetimeActionActionArgs].
 */
@PulumiTagMarker
public class CertificateCertificatePolicyLifetimeActionActionArgsBuilder internal constructor() {
    private var actionType: Output? = null

    /**
     * @param value The Type of action to be performed when the lifetime trigger is triggerec. Possible values include `AutoRenew` and `EmailContacts`.
     */
    @JvmName("mxhjuyskteefngob")
    public suspend fun actionType(`value`: Output) {
        this.actionType = value
    }

    /**
     * @param value The Type of action to be performed when the lifetime trigger is triggerec. Possible values include `AutoRenew` and `EmailContacts`.
     */
    @JvmName("ldtaidcsviebflqu")
    public suspend fun actionType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.actionType = mapped
    }

    internal fun build(): CertificateCertificatePolicyLifetimeActionActionArgs =
        CertificateCertificatePolicyLifetimeActionActionArgs(
            actionType = actionType ?: throw PulumiNullFieldException("actionType"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy