com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateKeyUsageFlags.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.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
*
* @property dataEncipherment
* @property digitalSignature
* @property keyAgreement
* @property keyEncipherment
* @property nonRepudiation
*/
public data class TemplateKeyUsageFlags(
public val dataEncipherment: Boolean? = null,
public val digitalSignature: Boolean? = null,
public val keyAgreement: Boolean? = null,
public val keyEncipherment: Boolean? = null,
public val nonRepudiation: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.pcaconnectorad.outputs.TemplateKeyUsageFlags): TemplateKeyUsageFlags = TemplateKeyUsageFlags(
dataEncipherment = javaType.dataEncipherment().map({ args0 -> args0 }).orElse(null),
digitalSignature = javaType.digitalSignature().map({ args0 -> args0 }).orElse(null),
keyAgreement = javaType.keyAgreement().map({ args0 -> args0 }).orElse(null),
keyEncipherment = javaType.keyEncipherment().map({ args0 -> args0 }).orElse(null),
nonRepudiation = javaType.nonRepudiation().map({ args0 -> args0 }).orElse(null),
)
}
}