com.pulumi.azurenative.network.kotlin.enums.IsGlobal.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Flag if global mesh is supported.
*/
public enum class IsGlobal(
public val javaValue: com.pulumi.azurenative.network.enums.IsGlobal,
) : ConvertibleToJava {
False(com.pulumi.azurenative.network.enums.IsGlobal.False),
True(com.pulumi.azurenative.network.enums.IsGlobal.True),
;
override fun toJava(): com.pulumi.azurenative.network.enums.IsGlobal = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.network.enums.IsGlobal): IsGlobal =
IsGlobal.values().first { it.javaValue == javaType }
}
}