com.pulumi.awsnative.ec2.kotlin.enums.IpamPoolState.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.ec2.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The state of this pool. This can be one of the following values: "create-in-progress", "create-complete", "modify-in-progress", "modify-complete", "delete-in-progress", or "delete-complete"
*/
public enum class IpamPoolState(
public val javaValue: com.pulumi.awsnative.ec2.enums.IpamPoolState,
) : ConvertibleToJava {
CreateInProgress(com.pulumi.awsnative.ec2.enums.IpamPoolState.CreateInProgress),
CreateComplete(com.pulumi.awsnative.ec2.enums.IpamPoolState.CreateComplete),
ModifyInProgress(com.pulumi.awsnative.ec2.enums.IpamPoolState.ModifyInProgress),
ModifyComplete(com.pulumi.awsnative.ec2.enums.IpamPoolState.ModifyComplete),
DeleteInProgress(com.pulumi.awsnative.ec2.enums.IpamPoolState.DeleteInProgress),
DeleteComplete(com.pulumi.awsnative.ec2.enums.IpamPoolState.DeleteComplete),
;
override fun toJava(): com.pulumi.awsnative.ec2.enums.IpamPoolState = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.enums.IpamPoolState): IpamPoolState =
IpamPoolState.values().first { it.javaValue == javaType }
}
}