com.pulumi.azurenative.providerhub.kotlin.enums.FeaturesPolicy.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.providerhub.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
public enum class FeaturesPolicy(
public val javaValue: com.pulumi.azurenative.providerhub.enums.FeaturesPolicy,
) : ConvertibleToJava {
Any(com.pulumi.azurenative.providerhub.enums.FeaturesPolicy.Any),
All(com.pulumi.azurenative.providerhub.enums.FeaturesPolicy.All),
;
override fun toJava(): com.pulumi.azurenative.providerhub.enums.FeaturesPolicy = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.providerhub.enums.FeaturesPolicy): FeaturesPolicy = FeaturesPolicy.values().first { it.javaValue == javaType }
}
}