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

com.pulumi.cloudflare.kotlin.inputs.GetOriginCaRootCertificatePlainArgs.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: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.GetOriginCaRootCertificatePlainArgs.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 collection of arguments for invoking getOriginCaRootCertificate.
 * @property algorithm The name of the algorithm used when creating an Origin CA certificate. Available values: `rsa`, `ecc`.
 */
public data class GetOriginCaRootCertificatePlainArgs(
    public val algorithm: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.GetOriginCaRootCertificatePlainArgs =
        com.pulumi.cloudflare.inputs.GetOriginCaRootCertificatePlainArgs.builder()
            .algorithm(algorithm.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetOriginCaRootCertificatePlainArgs].
 */
@PulumiTagMarker
public class GetOriginCaRootCertificatePlainArgsBuilder internal constructor() {
    private var algorithm: String? = null

    /**
     * @param value The name of the algorithm used when creating an Origin CA certificate. Available values: `rsa`, `ecc`.
     */
    @JvmName("elmhnutwcpvmplmy")
    public suspend fun algorithm(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.algorithm = mapped
    }

    internal fun build(): GetOriginCaRootCertificatePlainArgs = GetOriginCaRootCertificatePlainArgs(
        algorithm = algorithm ?: throw PulumiNullFieldException("algorithm"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy