com.pulumi.awsnative.paymentcryptography.kotlin.enums.KeyOrigin.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.paymentcryptography.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Defines the source of a key
*/
public enum class KeyOrigin(
public val javaValue: com.pulumi.awsnative.paymentcryptography.enums.KeyOrigin,
) : ConvertibleToJava {
External(com.pulumi.awsnative.paymentcryptography.enums.KeyOrigin.External),
AwsPaymentCryptography(com.pulumi.awsnative.paymentcryptography.enums.KeyOrigin.AwsPaymentCryptography),
;
override fun toJava(): com.pulumi.awsnative.paymentcryptography.enums.KeyOrigin = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.paymentcryptography.enums.KeyOrigin): KeyOrigin = KeyOrigin.values().first { it.javaValue == javaType }
}
}