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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.pcaconnectorad.kotlin.outputs

import com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplateClientCompatibilityV3
import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property clientVersion
 * @property exportableKey
 * @property requireAlternateSignatureAlgorithm
 * @property strongKeyProtectionRequired
 */
public data class TemplatePrivateKeyFlagsV3(
    public val clientVersion: TemplateClientCompatibilityV3,
    public val exportableKey: Boolean? = null,
    public val requireAlternateSignatureAlgorithm: Boolean? = null,
    public val strongKeyProtectionRequired: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.pcaconnectorad.outputs.TemplatePrivateKeyFlagsV3): TemplatePrivateKeyFlagsV3 = TemplatePrivateKeyFlagsV3(
            clientVersion = javaType.clientVersion().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplateClientCompatibilityV3.Companion.toKotlin(args0)
            }),
            exportableKey = javaType.exportableKey().map({ args0 -> args0 }).orElse(null),
            requireAlternateSignatureAlgorithm = javaType.requireAlternateSignatureAlgorithm().map({ args0 ->
                args0
            }).orElse(null),
            strongKeyProtectionRequired = javaType.strongKeyProtectionRequired().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy