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

com.pulumi.googlenative.cloudkms.v1.kotlin.inputs.CertificateArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.cloudkms.v1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.cloudkms.v1.inputs.CertificateArgs.builder
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

/**
 * A Certificate represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas.
 * @property rawDer The raw certificate bytes in DER format.
 */
public data class CertificateArgs(
    public val rawDer: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.cloudkms.v1.inputs.CertificateArgs =
        com.pulumi.googlenative.cloudkms.v1.inputs.CertificateArgs.builder()
            .rawDer(rawDer.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CertificateArgs].
 */
@PulumiTagMarker
public class CertificateArgsBuilder internal constructor() {
    private var rawDer: Output? = null

    /**
     * @param value The raw certificate bytes in DER format.
     */
    @JvmName("axrocpnielmukrug")
    public suspend fun rawDer(`value`: Output) {
        this.rawDer = value
    }

    /**
     * @param value The raw certificate bytes in DER format.
     */
    @JvmName("tjwvabuqbsefgcnm")
    public suspend fun rawDer(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rawDer = mapped
    }

    internal fun build(): CertificateArgs = CertificateArgs(
        rawDer = rawDer ?: throw PulumiNullFieldException("rawDer"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy