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