commonMain.aws.sdk.kotlin.services.emrserverless.model.Architecture.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of emrserverless-jvm Show documentation
Show all versions of emrserverless-jvm Show documentation
The AWS SDK for Kotlin client for EMR Serverless
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.emrserverless.model
import kotlin.collections.List
public sealed class Architecture {
public abstract val value: kotlin.String
public object Arm64 : aws.sdk.kotlin.services.emrserverless.model.Architecture() {
override val value: kotlin.String = "ARM64"
override fun toString(): kotlin.String = "Arm64"
}
public object X86_64 : aws.sdk.kotlin.services.emrserverless.model.Architecture() {
override val value: kotlin.String = "X86_64"
override fun toString(): kotlin.String = "X86_64"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.emrserverless.model.Architecture() {
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.emrserverless.model.Architecture = when (value) {
"ARM64" -> Arm64
"X86_64" -> X86_64
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Arm64,
X86_64,
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy