com.pulumi.gcp.certificateauthority.kotlin.inputs.CertificateTemplatePredefinedValuesKeyUsageArgs.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.CertificateTemplatePredefinedValuesKeyUsageArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
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.
* @property extendedKeyUsage Detailed scenarios in which a key may be used.
* @property unknownExtendedKeyUsages Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
*/
public data class CertificateTemplatePredefinedValuesKeyUsageArgs(
public val baseKeyUsage: Output? =
null,
public val extendedKeyUsage: Output? = null,
public val unknownExtendedKeyUsages: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesKeyUsageArgs =
com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesKeyUsageArgs.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 [CertificateTemplatePredefinedValuesKeyUsageArgs].
*/
@PulumiTagMarker
public class CertificateTemplatePredefinedValuesKeyUsageArgsBuilder 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.
*/
@JvmName("mynplehruwkjadce")
public suspend fun baseKeyUsage(`value`: Output) {
this.baseKeyUsage = value
}
/**
* @param value Detailed scenarios in which a key may be used.
*/
@JvmName("solusjgfhyrtsfhq")
public suspend fun extendedKeyUsage(`value`: Output) {
this.extendedKeyUsage = value
}
/**
* @param value Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
*/
@JvmName("peqygecbkwtiupuv")
public suspend fun unknownExtendedKeyUsages(`value`: Output>) {
this.unknownExtendedKeyUsages = value
}
@JvmName("bbisvuiebtkmsqxb")
public suspend fun unknownExtendedKeyUsages(vararg values: Output) {
this.unknownExtendedKeyUsages = Output.all(values.asList())
}
/**
* @param values Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
*/
@JvmName("agkxuxnkwcgfomjf")
public suspend fun unknownExtendedKeyUsages(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy