com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplatePrivateKeyFlagsV3.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 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),
)
}
}