commonMain.aws.sdk.kotlin.services.finspace.model.EnvironmentStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finspace-jvm Show documentation
Show all versions of finspace-jvm Show documentation
The AWS SDK for Kotlin client for finspace
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspace.model
import kotlin.collections.List
public sealed class EnvironmentStatus {
public abstract val value: kotlin.String
public object Created : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "CREATED"
override fun toString(): kotlin.String = "Created"
}
public object CreateRequested : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "CREATE_REQUESTED"
override fun toString(): kotlin.String = "CreateRequested"
}
public object Creating : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "CREATING"
override fun toString(): kotlin.String = "Creating"
}
public object Deleted : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "DELETED"
override fun toString(): kotlin.String = "Deleted"
}
public object DeleteRequested : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "DELETE_REQUESTED"
override fun toString(): kotlin.String = "DeleteRequested"
}
public object Deleting : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "DELETING"
override fun toString(): kotlin.String = "Deleting"
}
public object FailedCreation : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "FAILED_CREATION"
override fun toString(): kotlin.String = "FailedCreation"
}
public object FailedDeletion : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "FAILED_DELETION"
override fun toString(): kotlin.String = "FailedDeletion"
}
public object FailedUpdatingNetwork : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "FAILED_UPDATING_NETWORK"
override fun toString(): kotlin.String = "FailedUpdatingNetwork"
}
public object RetryDeletion : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "RETRY_DELETION"
override fun toString(): kotlin.String = "RetryDeletion"
}
public object Suspended : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "SUSPENDED"
override fun toString(): kotlin.String = "Suspended"
}
public object UpdateNetworkRequested : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "UPDATE_NETWORK_REQUESTED"
override fun toString(): kotlin.String = "UpdateNetworkRequested"
}
public object UpdatingNetwork : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
override val value: kotlin.String = "UPDATING_NETWORK"
override fun toString(): kotlin.String = "UpdatingNetwork"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.finspace.model.EnvironmentStatus() {
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.finspace.model.EnvironmentStatus = when (value) {
"CREATED" -> Created
"CREATE_REQUESTED" -> CreateRequested
"CREATING" -> Creating
"DELETED" -> Deleted
"DELETE_REQUESTED" -> DeleteRequested
"DELETING" -> Deleting
"FAILED_CREATION" -> FailedCreation
"FAILED_DELETION" -> FailedDeletion
"FAILED_UPDATING_NETWORK" -> FailedUpdatingNetwork
"RETRY_DELETION" -> RetryDeletion
"SUSPENDED" -> Suspended
"UPDATE_NETWORK_REQUESTED" -> UpdateNetworkRequested
"UPDATING_NETWORK" -> UpdatingNetwork
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Created,
CreateRequested,
Creating,
Deleted,
DeleteRequested,
Deleting,
FailedCreation,
FailedDeletion,
FailedUpdatingNetwork,
RetryDeletion,
Suspended,
UpdateNetworkRequested,
UpdatingNetwork,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy