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