com.pulumi.azurenative.hdinsight.kotlin.enums.Tier.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.hdinsight.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The cluster tier.
*/
public enum class Tier(
public val javaValue: com.pulumi.azurenative.hdinsight.enums.Tier,
) : ConvertibleToJava {
Standard(com.pulumi.azurenative.hdinsight.enums.Tier.Standard),
Premium(com.pulumi.azurenative.hdinsight.enums.Tier.Premium),
;
override fun toJava(): com.pulumi.azurenative.hdinsight.enums.Tier = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.hdinsight.enums.Tier): Tier =
Tier.values().first { it.javaValue == javaType }
}
}