com.pulumi.cloudflare.kotlin.inputs.GetOriginCaRootCertificatePlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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"),
)
}