com.pulumi.gcp.certificateauthority.kotlin.inputs.CertificateTemplatePredefinedValuesAdditionalExtensionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.certificateauthority.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesAdditionalExtensionArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property critical Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
* @property objectId Required. The OID for this X.509 extension.
* @property value Required. The value of this X.509 extension.
*/
public data class CertificateTemplatePredefinedValuesAdditionalExtensionArgs(
public val critical: Output? = null,
public val objectId: Output,
public val `value`: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesAdditionalExtensionArgs =
com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesAdditionalExtensionArgs.builder()
.critical(critical?.applyValue({ args0 -> args0 }))
.objectId(objectId.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertificateTemplatePredefinedValuesAdditionalExtensionArgs].
*/
@PulumiTagMarker
public class CertificateTemplatePredefinedValuesAdditionalExtensionArgsBuilder internal constructor() {
private var critical: Output? = null
private var objectId: Output? =
null
private var `value`: Output? = null
/**
* @param value Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
*/
@JvmName("sluocteqlmiwawym")
public suspend fun critical(`value`: Output) {
this.critical = value
}
/**
* @param value Required. The OID for this X.509 extension.
*/
@JvmName("ewludgsbvqnyhttu")
public suspend fun objectId(`value`: Output) {
this.objectId = value
}
/**
* @param value Required. The value of this X.509 extension.
*/
@JvmName("wehgwmtmupgbkdgm")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
*/
@JvmName("dxrmxufhkaxymyla")
public suspend fun critical(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.critical = mapped
}
/**
* @param value Required. The OID for this X.509 extension.
*/
@JvmName("dfeearrfybhqvatf")
public suspend fun objectId(`value`: CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.objectId = mapped
}
/**
* @param argument Required. The OID for this X.509 extension.
*/
@JvmName("uvoifjytfgkkedcm")
public suspend fun objectId(argument: suspend CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgsBuilder.() -> Unit) {
val toBeMapped =
CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.objectId = mapped
}
/**
* @param value Required. The value of this X.509 extension.
*/
@JvmName("bnbuiferqkewwfxw")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): CertificateTemplatePredefinedValuesAdditionalExtensionArgs =
CertificateTemplatePredefinedValuesAdditionalExtensionArgs(
critical = critical,
objectId = objectId ?: throw PulumiNullFieldException("objectId"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy