commonMain.aws.sdk.kotlin.services.datasync.model.S3StorageClass.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datasync-jvm Show documentation
Show all versions of datasync-jvm Show documentation
The AWS SDK for Kotlin client for DataSync
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datasync.model
import kotlin.collections.List
public sealed class S3StorageClass {
public abstract val value: kotlin.String
public object DeepArchive : aws.sdk.kotlin.services.datasync.model.S3StorageClass() {
override val value: kotlin.String = "DEEP_ARCHIVE"
override fun toString(): kotlin.String = "DeepArchive"
}
public object Glacier : aws.sdk.kotlin.services.datasync.model.S3StorageClass() {
override val value: kotlin.String = "GLACIER"
override fun toString(): kotlin.String = "Glacier"
}
public object GlacierInstantRetrieval : aws.sdk.kotlin.services.datasync.model.S3StorageClass() {
override val value: kotlin.String = "GLACIER_INSTANT_RETRIEVAL"
override fun toString(): kotlin.String = "GlacierInstantRetrieval"
}
public object IntelligentTiering : aws.sdk.kotlin.services.datasync.model.S3StorageClass() {
override val value: kotlin.String = "INTELLIGENT_TIERING"
override fun toString(): kotlin.String = "IntelligentTiering"
}
public object OnezoneIa : aws.sdk.kotlin.services.datasync.model.S3StorageClass() {
override val value: kotlin.String = "ONEZONE_IA"
override fun toString(): kotlin.String = "OnezoneIa"
}
public object Outposts : aws.sdk.kotlin.services.datasync.model.S3StorageClass() {
override val value: kotlin.String = "OUTPOSTS"
override fun toString(): kotlin.String = "Outposts"
}
public object Standard : aws.sdk.kotlin.services.datasync.model.S3StorageClass() {
override val value: kotlin.String = "STANDARD"
override fun toString(): kotlin.String = "Standard"
}
public object StandardIa : aws.sdk.kotlin.services.datasync.model.S3StorageClass() {
override val value: kotlin.String = "STANDARD_IA"
override fun toString(): kotlin.String = "StandardIa"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.datasync.model.S3StorageClass() {
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.datasync.model.S3StorageClass = when (value) {
"DEEP_ARCHIVE" -> DeepArchive
"GLACIER" -> Glacier
"GLACIER_INSTANT_RETRIEVAL" -> GlacierInstantRetrieval
"INTELLIGENT_TIERING" -> IntelligentTiering
"ONEZONE_IA" -> OnezoneIa
"OUTPOSTS" -> Outposts
"STANDARD" -> Standard
"STANDARD_IA" -> StandardIa
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
DeepArchive,
Glacier,
GlacierInstantRetrieval,
IntelligentTiering,
OnezoneIa,
Outposts,
Standard,
StandardIa,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy