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