com.pulumi.azurenative.servicebus.kotlin.enums.KeySource.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.servicebus.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Enumerates the possible value of keySource for Encryption
*/
public enum class KeySource(
public val javaValue: com.pulumi.azurenative.servicebus.enums.KeySource,
) : ConvertibleToJava {
Microsoft_KeyVault(com.pulumi.azurenative.servicebus.enums.KeySource.Microsoft_KeyVault),
;
override fun toJava(): com.pulumi.azurenative.servicebus.enums.KeySource = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.servicebus.enums.KeySource): KeySource =
KeySource.values().first { it.javaValue == javaType }
}
}