commonMain.aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apprunner-jvm Show documentation
Show all versions of apprunner-jvm Show documentation
The AWS SDK for Kotlin client for AppRunner
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.apprunner.model
import kotlin.collections.List
public sealed class VpcIngressConnectionStatus {
public abstract val value: kotlin.String
public object Available : aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus() {
override val value: kotlin.String = "AVAILABLE"
override fun toString(): kotlin.String = "Available"
}
public object Deleted : aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus() {
override val value: kotlin.String = "DELETED"
override fun toString(): kotlin.String = "Deleted"
}
public object FailedCreation : aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus() {
override val value: kotlin.String = "FAILED_CREATION"
override fun toString(): kotlin.String = "FailedCreation"
}
public object FailedDeletion : aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus() {
override val value: kotlin.String = "FAILED_DELETION"
override fun toString(): kotlin.String = "FailedDeletion"
}
public object FailedUpdate : aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus() {
override val value: kotlin.String = "FAILED_UPDATE"
override fun toString(): kotlin.String = "FailedUpdate"
}
public object PendingCreation : aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus() {
override val value: kotlin.String = "PENDING_CREATION"
override fun toString(): kotlin.String = "PendingCreation"
}
public object PendingDeletion : aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus() {
override val value: kotlin.String = "PENDING_DELETION"
override fun toString(): kotlin.String = "PendingDeletion"
}
public object PendingUpdate : aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus() {
override val value: kotlin.String = "PENDING_UPDATE"
override fun toString(): kotlin.String = "PendingUpdate"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus() {
override fun toString(): kotlin.String = "SdkUnknown($value)"
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.apprunner.model.VpcIngressConnectionStatus = when (value) {
"AVAILABLE" -> Available
"DELETED" -> Deleted
"FAILED_CREATION" -> FailedCreation
"FAILED_DELETION" -> FailedDeletion
"FAILED_UPDATE" -> FailedUpdate
"PENDING_CREATION" -> PendingCreation
"PENDING_DELETION" -> PendingDeletion
"PENDING_UPDATE" -> PendingUpdate
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Available,
Deleted,
FailedCreation,
FailedDeletion,
FailedUpdate,
PendingCreation,
PendingDeletion,
PendingUpdate,
)
}
}