All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.outposts.model.OpticalStandard.kt Maven / Gradle / Ivy

There is a newer version: 1.3.99
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.outposts.model

import kotlin.collections.List

public sealed class OpticalStandard {
    public abstract val value: kotlin.String

    public object Optic1000BaseLx : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_1000BASE_LX"
        override fun toString(): kotlin.String = "Optic1000BaseLx"
    }

    public object Optic1000BaseSx : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_1000BASE_SX"
        override fun toString(): kotlin.String = "Optic1000BaseSx"
    }

    public object Optic100GbaseCwdm4 : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_100GBASE_CWDM4"
        override fun toString(): kotlin.String = "Optic100GbaseCwdm4"
    }

    public object Optic100GbaseLr4 : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_100GBASE_LR4"
        override fun toString(): kotlin.String = "Optic100GbaseLr4"
    }

    public object Optic100GbaseSr4 : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_100GBASE_SR4"
        override fun toString(): kotlin.String = "Optic100GbaseSr4"
    }

    public object Optic100GPsm4Msa : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_100G_PSM4_MSA"
        override fun toString(): kotlin.String = "Optic100GPsm4Msa"
    }

    public object Optic10GbaseIr : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_10GBASE_IR"
        override fun toString(): kotlin.String = "Optic10GbaseIr"
    }

    public object Optic10GbaseLr : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_10GBASE_LR"
        override fun toString(): kotlin.String = "Optic10GbaseLr"
    }

    public object Optic10GbaseSr : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_10GBASE_SR"
        override fun toString(): kotlin.String = "Optic10GbaseSr"
    }

    public object Optic40GbaseEsr : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_40GBASE_ESR"
        override fun toString(): kotlin.String = "Optic40GbaseEsr"
    }

    public object Optic40GbaseIr4Lr4L : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_40GBASE_IR4_LR4L"
        override fun toString(): kotlin.String = "Optic40GbaseIr4Lr4L"
    }

    public object Optic40GbaseLr4 : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_40GBASE_LR4"
        override fun toString(): kotlin.String = "Optic40GbaseLr4"
    }

    public object Optic40GbaseSr : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        override val value: kotlin.String = "OPTIC_40GBASE_SR"
        override fun toString(): kotlin.String = "Optic40GbaseSr"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.outposts.model.OpticalStandard() {
        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.OpticalStandard = when (value) {
            "OPTIC_1000BASE_LX" -> Optic1000BaseLx
            "OPTIC_1000BASE_SX" -> Optic1000BaseSx
            "OPTIC_100GBASE_CWDM4" -> Optic100GbaseCwdm4
            "OPTIC_100GBASE_LR4" -> Optic100GbaseLr4
            "OPTIC_100GBASE_SR4" -> Optic100GbaseSr4
            "OPTIC_100G_PSM4_MSA" -> Optic100GPsm4Msa
            "OPTIC_10GBASE_IR" -> Optic10GbaseIr
            "OPTIC_10GBASE_LR" -> Optic10GbaseLr
            "OPTIC_10GBASE_SR" -> Optic10GbaseSr
            "OPTIC_40GBASE_ESR" -> Optic40GbaseEsr
            "OPTIC_40GBASE_IR4_LR4L" -> Optic40GbaseIr4Lr4L
            "OPTIC_40GBASE_LR4" -> Optic40GbaseLr4
            "OPTIC_40GBASE_SR" -> Optic40GbaseSr
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            Optic1000BaseLx,
            Optic1000BaseSx,
            Optic100GbaseCwdm4,
            Optic100GbaseLr4,
            Optic100GbaseSr4,
            Optic100GPsm4Msa,
            Optic10GbaseIr,
            Optic10GbaseLr,
            Optic10GbaseSr,
            Optic40GbaseEsr,
            Optic40GbaseIr4Lr4L,
            Optic40GbaseLr4,
            Optic40GbaseSr,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy