commonMain.aws.sdk.kotlin.services.outposts.model.PowerConnector.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 PowerConnector {
public abstract val value: kotlin.String
public object Ah530P7W : aws.sdk.kotlin.services.outposts.model.PowerConnector() {
override val value: kotlin.String = "AH530P7W"
override fun toString(): kotlin.String = "Ah530P7W"
}
public object Ah532P6W : aws.sdk.kotlin.services.outposts.model.PowerConnector() {
override val value: kotlin.String = "AH532P6W"
override fun toString(): kotlin.String = "Ah532P6W"
}
public object Iec309 : aws.sdk.kotlin.services.outposts.model.PowerConnector() {
override val value: kotlin.String = "IEC309"
override fun toString(): kotlin.String = "Iec309"
}
public object L6_30_P : aws.sdk.kotlin.services.outposts.model.PowerConnector() {
override val value: kotlin.String = "L6_30P"
override fun toString(): kotlin.String = "L6_30_P"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.outposts.model.PowerConnector() {
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.PowerConnector = when (value) {
"AH530P7W" -> Ah530P7W
"AH532P6W" -> Ah532P6W
"IEC309" -> Iec309
"L6_30P" -> L6_30_P
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Ah530P7W,
Ah532P6W,
Iec309,
L6_30_P,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy