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

com.pulumi.azurenative.devices.kotlin.inputs.CertificatePropertiesArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.devices.kotlin.inputs

import com.pulumi.azurenative.devices.inputs.CertificatePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The description of an X509 CA Certificate.
 * @property certificate base-64 representation of X509 certificate .cer file or just .pem file content.
 * @property isVerified Determines whether certificate has been verified.
 */
public data class CertificatePropertiesArgs(
    public val certificate: Output? = null,
    public val isVerified: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.devices.inputs.CertificatePropertiesArgs =
        com.pulumi.azurenative.devices.inputs.CertificatePropertiesArgs.builder()
            .certificate(certificate?.applyValue({ args0 -> args0 }))
            .isVerified(isVerified?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CertificatePropertiesArgs].
 */
@PulumiTagMarker
public class CertificatePropertiesArgsBuilder internal constructor() {
    private var certificate: Output? = null

    private var isVerified: Output? = null

    /**
     * @param value base-64 representation of X509 certificate .cer file or just .pem file content.
     */
    @JvmName("ndolhvqrflgkxkcf")
    public suspend fun certificate(`value`: Output) {
        this.certificate = value
    }

    /**
     * @param value Determines whether certificate has been verified.
     */
    @JvmName("fookmdxbvoteocio")
    public suspend fun isVerified(`value`: Output) {
        this.isVerified = value
    }

    /**
     * @param value base-64 representation of X509 certificate .cer file or just .pem file content.
     */
    @JvmName("kdehjqnarqyllwjc")
    public suspend fun certificate(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificate = mapped
    }

    /**
     * @param value Determines whether certificate has been verified.
     */
    @JvmName("vodjusqbvtepliqg")
    public suspend fun isVerified(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isVerified = mapped
    }

    internal fun build(): CertificatePropertiesArgs = CertificatePropertiesArgs(
        certificate = certificate,
        isVerified = isVerified,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy