com.pulumi.gcp.certificateauthority.kotlin.inputs.CertificateConfigX509ConfigKeyUsageArgs.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.CertificateConfigX509ConfigKeyUsageArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property baseKeyUsage Describes high-level ways in which a key may be used.
* Structure is documented below.
* @property extendedKeyUsage Describes high-level ways in which a key may be used.
* Structure is documented below.
* @property unknownExtendedKeyUsages An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
* Structure is documented below.
*/
public data class CertificateConfigX509ConfigKeyUsageArgs(
public val baseKeyUsage: Output,
public val extendedKeyUsage: Output,
public val unknownExtendedKeyUsages: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigKeyUsageArgs =
com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigKeyUsageArgs.builder()
.baseKeyUsage(baseKeyUsage.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.extendedKeyUsage(extendedKeyUsage.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.unknownExtendedKeyUsages(
unknownExtendedKeyUsages?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [CertificateConfigX509ConfigKeyUsageArgs].
*/
@PulumiTagMarker
public class CertificateConfigX509ConfigKeyUsageArgsBuilder internal constructor() {
private var baseKeyUsage: Output? = null
private var extendedKeyUsage: Output? =
null
private var unknownExtendedKeyUsages:
Output>? = null
/**
* @param value Describes high-level ways in which a key may be used.
* Structure is documented below.
*/
@JvmName("pfhcqxyivxrpcuba")
public suspend fun baseKeyUsage(`value`: Output) {
this.baseKeyUsage = value
}
/**
* @param value Describes high-level ways in which a key may be used.
* Structure is documented below.
*/
@JvmName("hisgeuiicijbgmew")
public suspend fun extendedKeyUsage(`value`: Output) {
this.extendedKeyUsage = value
}
/**
* @param value An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
* Structure is documented below.
*/
@JvmName("wwykhiqvnmehgfiu")
public suspend fun unknownExtendedKeyUsages(`value`: Output>) {
this.unknownExtendedKeyUsages = value
}
@JvmName("ufsdbmqqevmaedsk")
public suspend fun unknownExtendedKeyUsages(vararg values: Output) {
this.unknownExtendedKeyUsages = Output.all(values.asList())
}
/**
* @param values An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
* Structure is documented below.
*/
@JvmName("vscjcmfslfqnvbnl")
public suspend fun unknownExtendedKeyUsages(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy