com.pulumi.awsnative.pcaconnectorad.kotlin.inputs.TemplateKeyUsageFlagsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.pcaconnectorad.kotlin.inputs
import com.pulumi.awsnative.pcaconnectorad.inputs.TemplateKeyUsageFlagsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property dataEncipherment
* @property digitalSignature
* @property keyAgreement
* @property keyEncipherment
* @property nonRepudiation
*/
public data class TemplateKeyUsageFlagsArgs(
public val dataEncipherment: Output? = null,
public val digitalSignature: Output? = null,
public val keyAgreement: Output? = null,
public val keyEncipherment: Output? = null,
public val nonRepudiation: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.pcaconnectorad.inputs.TemplateKeyUsageFlagsArgs =
com.pulumi.awsnative.pcaconnectorad.inputs.TemplateKeyUsageFlagsArgs.builder()
.dataEncipherment(dataEncipherment?.applyValue({ args0 -> args0 }))
.digitalSignature(digitalSignature?.applyValue({ args0 -> args0 }))
.keyAgreement(keyAgreement?.applyValue({ args0 -> args0 }))
.keyEncipherment(keyEncipherment?.applyValue({ args0 -> args0 }))
.nonRepudiation(nonRepudiation?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TemplateKeyUsageFlagsArgs].
*/
@PulumiTagMarker
public class TemplateKeyUsageFlagsArgsBuilder internal constructor() {
private var dataEncipherment: Output? = null
private var digitalSignature: Output? = null
private var keyAgreement: Output? = null
private var keyEncipherment: Output? = null
private var nonRepudiation: Output? = null
/**
* @param value
*/
@JvmName("mkiuxootinrlfqms")
public suspend fun dataEncipherment(`value`: Output) {
this.dataEncipherment = value
}
/**
* @param value
*/
@JvmName("gnvapbnvxekkehaj")
public suspend fun digitalSignature(`value`: Output) {
this.digitalSignature = value
}
/**
* @param value
*/
@JvmName("rrdivxbpyjfxryoc")
public suspend fun keyAgreement(`value`: Output) {
this.keyAgreement = value
}
/**
* @param value
*/
@JvmName("utdigedhitadhtdk")
public suspend fun keyEncipherment(`value`: Output) {
this.keyEncipherment = value
}
/**
* @param value
*/
@JvmName("easrixvhbpebgcbo")
public suspend fun nonRepudiation(`value`: Output) {
this.nonRepudiation = value
}
/**
* @param value
*/
@JvmName("xtqgiedxbhimgxnv")
public suspend fun dataEncipherment(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataEncipherment = mapped
}
/**
* @param value
*/
@JvmName("akatmvjstleayjue")
public suspend fun digitalSignature(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.digitalSignature = mapped
}
/**
* @param value
*/
@JvmName("rfoaydcyugronteu")
public suspend fun keyAgreement(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyAgreement = mapped
}
/**
* @param value
*/
@JvmName("bcotulyyyhjbhedi")
public suspend fun keyEncipherment(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyEncipherment = mapped
}
/**
* @param value
*/
@JvmName("vpmsawvrodouahji")
public suspend fun nonRepudiation(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.nonRepudiation = mapped
}
internal fun build(): TemplateKeyUsageFlagsArgs = TemplateKeyUsageFlagsArgs(
dataEncipherment = dataEncipherment,
digitalSignature = digitalSignature,
keyAgreement = keyAgreement,
keyEncipherment = keyEncipherment,
nonRepudiation = nonRepudiation,
)
}