com.pulumi.azurenative.databoxedge.kotlin.enums.DataPolicy.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.databoxedge.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Data policy of the storage Account.
*/
public enum class DataPolicy(
public val javaValue: com.pulumi.azurenative.databoxedge.enums.DataPolicy,
) : ConvertibleToJava {
Cloud(com.pulumi.azurenative.databoxedge.enums.DataPolicy.Cloud),
Local(com.pulumi.azurenative.databoxedge.enums.DataPolicy.Local),
;
override fun toJava(): com.pulumi.azurenative.databoxedge.enums.DataPolicy = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.databoxedge.enums.DataPolicy): DataPolicy =
DataPolicy.values().first { it.javaValue == javaType }
}
}