com.pulumi.azurenative.apicenter.kotlin.enums.EnvironmentKind.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.apicenter.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Environment kind.
*/
public enum class EnvironmentKind(
public val javaValue: com.pulumi.azurenative.apicenter.enums.EnvironmentKind,
) : ConvertibleToJava {
/**
* Development environment
*/
Development(com.pulumi.azurenative.apicenter.enums.EnvironmentKind.Development),
/**
* Testing environment
*/
Testing(com.pulumi.azurenative.apicenter.enums.EnvironmentKind.Testing),
/**
* Staging environment
*/
Staging(com.pulumi.azurenative.apicenter.enums.EnvironmentKind.Staging),
/**
* Production environment
*/
Production(com.pulumi.azurenative.apicenter.enums.EnvironmentKind.Production),
;
override fun toJava(): com.pulumi.azurenative.apicenter.enums.EnvironmentKind = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.apicenter.enums.EnvironmentKind): EnvironmentKind = EnvironmentKind.values().first { it.javaValue == javaType }
}
}