commonMain.aws.sdk.kotlin.services.snowball.model.SnowballCapacity.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snowball-jvm Show documentation
Show all versions of snowball-jvm Show documentation
The AWS SDK for Kotlin client for Snowball
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.snowball.model
import kotlin.collections.List
public sealed class SnowballCapacity {
public abstract val value: kotlin.String
public object NoPreference : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "NoPreference"
override fun toString(): kotlin.String = "NoPreference"
}
public object T100 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T100"
override fun toString(): kotlin.String = "T100"
}
public object T13 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T13"
override fun toString(): kotlin.String = "T13"
}
public object T14 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T14"
override fun toString(): kotlin.String = "T14"
}
public object T240 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T240"
override fun toString(): kotlin.String = "T240"
}
public object T32 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T32"
override fun toString(): kotlin.String = "T32"
}
public object T42 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T42"
override fun toString(): kotlin.String = "T42"
}
public object T50 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T50"
override fun toString(): kotlin.String = "T50"
}
public object T8 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T8"
override fun toString(): kotlin.String = "T8"
}
public object T80 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T80"
override fun toString(): kotlin.String = "T80"
}
public object T98 : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
override val value: kotlin.String = "T98"
override fun toString(): kotlin.String = "T98"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.snowball.model.SnowballCapacity() {
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.snowball.model.SnowballCapacity = when (value) {
"NoPreference" -> NoPreference
"T100" -> T100
"T13" -> T13
"T14" -> T14
"T240" -> T240
"T32" -> T32
"T42" -> T42
"T50" -> T50
"T8" -> T8
"T80" -> T80
"T98" -> T98
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
NoPreference,
T100,
T13,
T14,
T240,
T32,
T42,
T50,
T8,
T80,
T98,
)
}
}