commonMain.aws.sdk.kotlin.services.appstream.model.ImageBuilderState.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appstream-jvm Show documentation
Show all versions of appstream-jvm Show documentation
The AWS SDK for Kotlin client for AppStream
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.appstream.model
import kotlin.collections.List
public sealed class ImageBuilderState {
public abstract val value: kotlin.String
public object Deleting : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "DELETING"
override fun toString(): kotlin.String = value
}
public object Failed : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "FAILED"
override fun toString(): kotlin.String = value
}
public object Pending : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "PENDING"
override fun toString(): kotlin.String = value
}
public object PendingQualification : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "PENDING_QUALIFICATION"
override fun toString(): kotlin.String = value
}
public object Rebooting : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "REBOOTING"
override fun toString(): kotlin.String = value
}
public object Running : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "RUNNING"
override fun toString(): kotlin.String = value
}
public object Snapshotting : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "SNAPSHOTTING"
override fun toString(): kotlin.String = value
}
public object Stopped : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "STOPPED"
override fun toString(): kotlin.String = value
}
public object Stopping : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "STOPPING"
override fun toString(): kotlin.String = value
}
public object Updating : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "UPDATING"
override fun toString(): kotlin.String = value
}
public object UpdatingAgent : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override val value: kotlin.String = "UPDATING_AGENT"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appstream.model.ImageBuilderState() {
override fun toString(): kotlin.String = value
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.appstream.model.ImageBuilderState = when(str) {
"DELETING" -> Deleting
"FAILED" -> Failed
"PENDING" -> Pending
"PENDING_QUALIFICATION" -> PendingQualification
"REBOOTING" -> Rebooting
"RUNNING" -> Running
"SNAPSHOTTING" -> Snapshotting
"STOPPED" -> Stopped
"STOPPING" -> Stopping
"UPDATING" -> Updating
"UPDATING_AGENT" -> UpdatingAgent
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
Deleting,
Failed,
Pending,
PendingQualification,
Rebooting,
Running,
Snapshotting,
Stopped,
Stopping,
Updating,
UpdatingAgent
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy