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

com.pulumi.gcp.certificateauthority.kotlin.inputs.CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsageArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificateauthority.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsageArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property certSign The key may be used to sign certificates.
 * @property contentCommitment The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation".
 * @property crlSign The key may be used sign certificate revocation lists.
 * @property dataEncipherment The key may be used to encipher data.
 * @property decipherOnly The key may be used to decipher only.
 * @property digitalSignature The key may be used for digital signatures.
 * @property encipherOnly The key may be used to encipher only.
 * @property keyAgreement The key may be used in a key agreement protocol.
 * @property keyEncipherment The key may be used to encipher other keys.
 */
public data class CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsageArgs(
    public val certSign: Output? = null,
    public val contentCommitment: Output? = null,
    public val crlSign: Output? = null,
    public val dataEncipherment: Output? = null,
    public val decipherOnly: Output? = null,
    public val digitalSignature: Output? = null,
    public val encipherOnly: Output? = null,
    public val keyAgreement: Output? = null,
    public val keyEncipherment: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsageArgs =
        com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsageArgs.builder()
            .certSign(certSign?.applyValue({ args0 -> args0 }))
            .contentCommitment(contentCommitment?.applyValue({ args0 -> args0 }))
            .crlSign(crlSign?.applyValue({ args0 -> args0 }))
            .dataEncipherment(dataEncipherment?.applyValue({ args0 -> args0 }))
            .decipherOnly(decipherOnly?.applyValue({ args0 -> args0 }))
            .digitalSignature(digitalSignature?.applyValue({ args0 -> args0 }))
            .encipherOnly(encipherOnly?.applyValue({ args0 -> args0 }))
            .keyAgreement(keyAgreement?.applyValue({ args0 -> args0 }))
            .keyEncipherment(keyEncipherment?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsageArgs].
 */
@PulumiTagMarker
public class CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsageArgsBuilder internal constructor() {
    private var certSign: Output? = null

    private var contentCommitment: Output? = null

    private var crlSign: Output? = null

    private var dataEncipherment: Output? = null

    private var decipherOnly: Output? = null

    private var digitalSignature: Output? = null

    private var encipherOnly: Output? = null

    private var keyAgreement: Output? = null

    private var keyEncipherment: Output? = null

    /**
     * @param value The key may be used to sign certificates.
     */
    @JvmName("gfgnjdbtejisppph")
    public suspend fun certSign(`value`: Output) {
        this.certSign = value
    }

    /**
     * @param value The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation".
     */
    @JvmName("xnvxghitsapleapd")
    public suspend fun contentCommitment(`value`: Output) {
        this.contentCommitment = value
    }

    /**
     * @param value The key may be used sign certificate revocation lists.
     */
    @JvmName("rqftxqkwmmyjowjj")
    public suspend fun crlSign(`value`: Output) {
        this.crlSign = value
    }

    /**
     * @param value The key may be used to encipher data.
     */
    @JvmName("qnftqeubhryornpd")
    public suspend fun dataEncipherment(`value`: Output) {
        this.dataEncipherment = value
    }

    /**
     * @param value The key may be used to decipher only.
     */
    @JvmName("focxovmhrgqdhsyy")
    public suspend fun decipherOnly(`value`: Output) {
        this.decipherOnly = value
    }

    /**
     * @param value The key may be used for digital signatures.
     */
    @JvmName("qqcotxlttrcpfycj")
    public suspend fun digitalSignature(`value`: Output) {
        this.digitalSignature = value
    }

    /**
     * @param value The key may be used to encipher only.
     */
    @JvmName("oihufxutaovhemst")
    public suspend fun encipherOnly(`value`: Output) {
        this.encipherOnly = value
    }

    /**
     * @param value The key may be used in a key agreement protocol.
     */
    @JvmName("xqfqhuspasxiecmm")
    public suspend fun keyAgreement(`value`: Output) {
        this.keyAgreement = value
    }

    /**
     * @param value The key may be used to encipher other keys.
     */
    @JvmName("fenhenjxlaenjgwh")
    public suspend fun keyEncipherment(`value`: Output) {
        this.keyEncipherment = value
    }

    /**
     * @param value The key may be used to sign certificates.
     */
    @JvmName("addnkimmntkyhwxd")
    public suspend fun certSign(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certSign = mapped
    }

    /**
     * @param value The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation".
     */
    @JvmName("avagwgpovxuuptae")
    public suspend fun contentCommitment(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contentCommitment = mapped
    }

    /**
     * @param value The key may be used sign certificate revocation lists.
     */
    @JvmName("ulwoerrlpdrshsyr")
    public suspend fun crlSign(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.crlSign = mapped
    }

    /**
     * @param value The key may be used to encipher data.
     */
    @JvmName("lbrwtgxljsjhfojl")
    public suspend fun dataEncipherment(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataEncipherment = mapped
    }

    /**
     * @param value The key may be used to decipher only.
     */
    @JvmName("cpygpkhshrnaoelv")
    public suspend fun decipherOnly(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.decipherOnly = mapped
    }

    /**
     * @param value The key may be used for digital signatures.
     */
    @JvmName("vuprjalxxfgroksw")
    public suspend fun digitalSignature(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.digitalSignature = mapped
    }

    /**
     * @param value The key may be used to encipher only.
     */
    @JvmName("cddpbfrkfsktkhxh")
    public suspend fun encipherOnly(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encipherOnly = mapped
    }

    /**
     * @param value The key may be used in a key agreement protocol.
     */
    @JvmName("vnhctnevobwaibdg")
    public suspend fun keyAgreement(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyAgreement = mapped
    }

    /**
     * @param value The key may be used to encipher other keys.
     */
    @JvmName("ebtjwqxsqkhtdakl")
    public suspend fun keyEncipherment(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyEncipherment = mapped
    }

    internal fun build(): CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsageArgs =
        CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsageArgs(
            certSign = certSign,
            contentCommitment = contentCommitment,
            crlSign = crlSign,
            dataEncipherment = dataEncipherment,
            decipherOnly = decipherOnly,
            digitalSignature = digitalSignature,
            encipherOnly = encipherOnly,
            keyAgreement = keyAgreement,
            keyEncipherment = keyEncipherment,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy