com.pulumi.azurenative.appconfiguration.kotlin.enums.CreateMode.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.appconfiguration.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Indicates whether the configuration store need to be recovered.
*/
public enum class CreateMode(
public val javaValue: com.pulumi.azurenative.appconfiguration.enums.CreateMode,
) : ConvertibleToJava {
Recover(com.pulumi.azurenative.appconfiguration.enums.CreateMode.Recover),
Default(com.pulumi.azurenative.appconfiguration.enums.CreateMode.Default),
;
override fun toJava(): com.pulumi.azurenative.appconfiguration.enums.CreateMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.appconfiguration.enums.CreateMode): CreateMode = CreateMode.values().first { it.javaValue == javaType }
}
}