com.pulumi.awsnative.mediaconnect.kotlin.enums.GatewayState.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediaconnect.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The current status of the gateway.
*/
public enum class GatewayState(
public val javaValue: com.pulumi.awsnative.mediaconnect.enums.GatewayState,
) : ConvertibleToJava {
Creating(com.pulumi.awsnative.mediaconnect.enums.GatewayState.Creating),
Active(com.pulumi.awsnative.mediaconnect.enums.GatewayState.Active),
Updating(com.pulumi.awsnative.mediaconnect.enums.GatewayState.Updating),
Error(com.pulumi.awsnative.mediaconnect.enums.GatewayState.Error),
Deleting(com.pulumi.awsnative.mediaconnect.enums.GatewayState.Deleting),
Deleted(com.pulumi.awsnative.mediaconnect.enums.GatewayState.Deleted),
;
override fun toJava(): com.pulumi.awsnative.mediaconnect.enums.GatewayState = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.enums.GatewayState): GatewayState = GatewayState.values().first { it.javaValue == javaType }
}
}