com.pulumi.awsnative.ec2.kotlin.enums.IpamPoolState.kt Maven / Gradle / Ivy
@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 }
}
}