com.pulumi.gcp.certificateauthority.kotlin.inputs.CertificateConfigX509ConfigKeyUsageExtendedKeyUsageArgs.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.CertificateConfigX509ConfigKeyUsageExtendedKeyUsageArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property clientAuth Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
* @property codeSigning Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
* @property emailProtection Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
* @property ocspSigning Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
* @property serverAuth Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
* @property timeStamping Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
*/
public data class CertificateConfigX509ConfigKeyUsageExtendedKeyUsageArgs(
public val clientAuth: Output? = null,
public val codeSigning: Output? = null,
public val emailProtection: Output? = null,
public val ocspSigning: Output? = null,
public val serverAuth: Output? = null,
public val timeStamping: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigKeyUsageExtendedKeyUsageArgs =
com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigKeyUsageExtendedKeyUsageArgs.builder()
.clientAuth(clientAuth?.applyValue({ args0 -> args0 }))
.codeSigning(codeSigning?.applyValue({ args0 -> args0 }))
.emailProtection(emailProtection?.applyValue({ args0 -> args0 }))
.ocspSigning(ocspSigning?.applyValue({ args0 -> args0 }))
.serverAuth(serverAuth?.applyValue({ args0 -> args0 }))
.timeStamping(timeStamping?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertificateConfigX509ConfigKeyUsageExtendedKeyUsageArgs].
*/
@PulumiTagMarker
public class CertificateConfigX509ConfigKeyUsageExtendedKeyUsageArgsBuilder internal constructor() {
private var clientAuth: Output? = null
private var codeSigning: Output? = null
private var emailProtection: Output? = null
private var ocspSigning: Output? = null
private var serverAuth: Output? = null
private var timeStamping: Output? = null
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
*/
@JvmName("oehmtbxojmdexnpv")
public suspend fun clientAuth(`value`: Output) {
this.clientAuth = value
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
*/
@JvmName("xrfmtclpvocykdrk")
public suspend fun codeSigning(`value`: Output) {
this.codeSigning = value
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
*/
@JvmName("jihujeyjkrdeivqi")
public suspend fun emailProtection(`value`: Output) {
this.emailProtection = value
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
*/
@JvmName("ahhwnssaqxuwhrir")
public suspend fun ocspSigning(`value`: Output) {
this.ocspSigning = value
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
*/
@JvmName("buhqrvjlfrmqcxqx")
public suspend fun serverAuth(`value`: Output) {
this.serverAuth = value
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
*/
@JvmName("jqgwqfxcvhyxvirg")
public suspend fun timeStamping(`value`: Output) {
this.timeStamping = value
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
*/
@JvmName("vyehmqslqodcodlk")
public suspend fun clientAuth(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientAuth = mapped
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
*/
@JvmName("eekbuojydvuxhfsp")
public suspend fun codeSigning(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.codeSigning = mapped
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
*/
@JvmName("ejvvonmtdcsojvpf")
public suspend fun emailProtection(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailProtection = mapped
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
*/
@JvmName("vwqoftjjgmwgvfml")
public suspend fun ocspSigning(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ocspSigning = mapped
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
*/
@JvmName("opxfuiqqpkuuvmaw")
public suspend fun serverAuth(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serverAuth = mapped
}
/**
* @param value Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
*/
@JvmName("byxpifkdcqvohksc")
public suspend fun timeStamping(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeStamping = mapped
}
internal fun build(): CertificateConfigX509ConfigKeyUsageExtendedKeyUsageArgs =
CertificateConfigX509ConfigKeyUsageExtendedKeyUsageArgs(
clientAuth = clientAuth,
codeSigning = codeSigning,
emailProtection = emailProtection,
ocspSigning = ocspSigning,
serverAuth = serverAuth,
timeStamping = timeStamping,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy