All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateKeyUsageFlags.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy