commonMain.aws.sdk.kotlin.services.outposts.model.PowerDrawKva.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 PowerDrawKva {
public abstract val value: kotlin.String
public object Power10Kva : aws.sdk.kotlin.services.outposts.model.PowerDrawKva() {
override val value: kotlin.String = "POWER_10_KVA"
override fun toString(): kotlin.String = "Power10Kva"
}
public object Power15Kva : aws.sdk.kotlin.services.outposts.model.PowerDrawKva() {
override val value: kotlin.String = "POWER_15_KVA"
override fun toString(): kotlin.String = "Power15Kva"
}
public object Power30Kva : aws.sdk.kotlin.services.outposts.model.PowerDrawKva() {
override val value: kotlin.String = "POWER_30_KVA"
override fun toString(): kotlin.String = "Power30Kva"
}
public object Power5Kva : aws.sdk.kotlin.services.outposts.model.PowerDrawKva() {
override val value: kotlin.String = "POWER_5_KVA"
override fun toString(): kotlin.String = "Power5Kva"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.outposts.model.PowerDrawKva() {
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.PowerDrawKva = when (value) {
"POWER_10_KVA" -> Power10Kva
"POWER_15_KVA" -> Power15Kva
"POWER_30_KVA" -> Power30Kva
"POWER_5_KVA" -> Power5Kva
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Power10Kva,
Power15Kva,
Power30Kva,
Power5Kva,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy