com.pulumi.azurenative.cognitiveservices.kotlin.enums.EncryptionScopeState.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.cognitiveservices.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The encryptionScope state.
*/
public enum class EncryptionScopeState(
public val javaValue: com.pulumi.azurenative.cognitiveservices.enums.EncryptionScopeState,
) : ConvertibleToJava {
Disabled(com.pulumi.azurenative.cognitiveservices.enums.EncryptionScopeState.Disabled),
Enabled(com.pulumi.azurenative.cognitiveservices.enums.EncryptionScopeState.Enabled),
;
override fun toJava(): com.pulumi.azurenative.cognitiveservices.enums.EncryptionScopeState =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.cognitiveservices.enums.EncryptionScopeState): EncryptionScopeState = EncryptionScopeState.values().first { it.javaValue == javaType }
}
}