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

commonMain.aws.sdk.kotlin.services.route53.model.VpcRegion.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.route53.model

import kotlin.collections.List

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

    public object AfSouth1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "af-south-1"
        override fun toString(): kotlin.String = "AfSouth1"
    }

    public object ApEast1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-east-1"
        override fun toString(): kotlin.String = "ApEast1"
    }

    public object ApNortheast1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-northeast-1"
        override fun toString(): kotlin.String = "ApNortheast1"
    }

    public object ApNortheast2 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-northeast-2"
        override fun toString(): kotlin.String = "ApNortheast2"
    }

    public object ApNortheast3 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-northeast-3"
        override fun toString(): kotlin.String = "ApNortheast3"
    }

    public object ApSouth1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-south-1"
        override fun toString(): kotlin.String = "ApSouth1"
    }

    public object ApSouth2 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-south-2"
        override fun toString(): kotlin.String = "ApSouth2"
    }

    public object ApSoutheast1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-southeast-1"
        override fun toString(): kotlin.String = "ApSoutheast1"
    }

    public object ApSoutheast2 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-southeast-2"
        override fun toString(): kotlin.String = "ApSoutheast2"
    }

    public object ApSoutheast3 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-southeast-3"
        override fun toString(): kotlin.String = "ApSoutheast3"
    }

    public object ApSoutheast4 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-southeast-4"
        override fun toString(): kotlin.String = "ApSoutheast4"
    }

    public object ApSoutheast5 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ap-southeast-5"
        override fun toString(): kotlin.String = "ApSoutheast5"
    }

    public object CaCentral1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ca-central-1"
        override fun toString(): kotlin.String = "CaCentral1"
    }

    public object CaWest1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "ca-west-1"
        override fun toString(): kotlin.String = "CaWest1"
    }

    public object CnNorth1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "cn-north-1"
        override fun toString(): kotlin.String = "CnNorth1"
    }

    public object CnNorthwest1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "cn-northwest-1"
        override fun toString(): kotlin.String = "CnNorthwest1"
    }

    public object EuCentral1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "eu-central-1"
        override fun toString(): kotlin.String = "EuCentral1"
    }

    public object EuCentral2 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "eu-central-2"
        override fun toString(): kotlin.String = "EuCentral2"
    }

    public object EuNorth1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "eu-north-1"
        override fun toString(): kotlin.String = "EuNorth1"
    }

    public object EuSouth1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "eu-south-1"
        override fun toString(): kotlin.String = "EuSouth1"
    }

    public object EuSouth2 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "eu-south-2"
        override fun toString(): kotlin.String = "EuSouth2"
    }

    public object EuWest1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "eu-west-1"
        override fun toString(): kotlin.String = "EuWest1"
    }

    public object EuWest2 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "eu-west-2"
        override fun toString(): kotlin.String = "EuWest2"
    }

    public object EuWest3 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "eu-west-3"
        override fun toString(): kotlin.String = "EuWest3"
    }

    public object IlCentral1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "il-central-1"
        override fun toString(): kotlin.String = "IlCentral1"
    }

    public object MeCentral1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "me-central-1"
        override fun toString(): kotlin.String = "MeCentral1"
    }

    public object MeSouth1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "me-south-1"
        override fun toString(): kotlin.String = "MeSouth1"
    }

    public object SaEast1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "sa-east-1"
        override fun toString(): kotlin.String = "SaEast1"
    }

    public object UsEast1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "us-east-1"
        override fun toString(): kotlin.String = "UsEast1"
    }

    public object UsEast2 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "us-east-2"
        override fun toString(): kotlin.String = "UsEast2"
    }

    public object UsGovEast1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "us-gov-east-1"
        override fun toString(): kotlin.String = "UsGovEast1"
    }

    public object UsGovWest1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "us-gov-west-1"
        override fun toString(): kotlin.String = "UsGovWest1"
    }

    public object UsIsoEast1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "us-iso-east-1"
        override fun toString(): kotlin.String = "UsIsoEast1"
    }

    public object UsIsoWest1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "us-iso-west-1"
        override fun toString(): kotlin.String = "UsIsoWest1"
    }

    public object UsIsobEast1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "us-isob-east-1"
        override fun toString(): kotlin.String = "UsIsobEast1"
    }

    public object UsWest1 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "us-west-1"
        override fun toString(): kotlin.String = "UsWest1"
    }

    public object UsWest2 : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        override val value: kotlin.String = "us-west-2"
        override fun toString(): kotlin.String = "UsWest2"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.route53.model.VpcRegion() {
        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.route53.model.VpcRegion = when (value) {
            "af-south-1" -> AfSouth1
            "ap-east-1" -> ApEast1
            "ap-northeast-1" -> ApNortheast1
            "ap-northeast-2" -> ApNortheast2
            "ap-northeast-3" -> ApNortheast3
            "ap-south-1" -> ApSouth1
            "ap-south-2" -> ApSouth2
            "ap-southeast-1" -> ApSoutheast1
            "ap-southeast-2" -> ApSoutheast2
            "ap-southeast-3" -> ApSoutheast3
            "ap-southeast-4" -> ApSoutheast4
            "ap-southeast-5" -> ApSoutheast5
            "ca-central-1" -> CaCentral1
            "ca-west-1" -> CaWest1
            "cn-north-1" -> CnNorth1
            "cn-northwest-1" -> CnNorthwest1
            "eu-central-1" -> EuCentral1
            "eu-central-2" -> EuCentral2
            "eu-north-1" -> EuNorth1
            "eu-south-1" -> EuSouth1
            "eu-south-2" -> EuSouth2
            "eu-west-1" -> EuWest1
            "eu-west-2" -> EuWest2
            "eu-west-3" -> EuWest3
            "il-central-1" -> IlCentral1
            "me-central-1" -> MeCentral1
            "me-south-1" -> MeSouth1
            "sa-east-1" -> SaEast1
            "us-east-1" -> UsEast1
            "us-east-2" -> UsEast2
            "us-gov-east-1" -> UsGovEast1
            "us-gov-west-1" -> UsGovWest1
            "us-iso-east-1" -> UsIsoEast1
            "us-iso-west-1" -> UsIsoWest1
            "us-isob-east-1" -> UsIsobEast1
            "us-west-1" -> UsWest1
            "us-west-2" -> UsWest2
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            AfSouth1,
            ApEast1,
            ApNortheast1,
            ApNortheast2,
            ApNortheast3,
            ApSouth1,
            ApSouth2,
            ApSoutheast1,
            ApSoutheast2,
            ApSoutheast3,
            ApSoutheast4,
            ApSoutheast5,
            CaCentral1,
            CaWest1,
            CnNorth1,
            CnNorthwest1,
            EuCentral1,
            EuCentral2,
            EuNorth1,
            EuSouth1,
            EuSouth2,
            EuWest1,
            EuWest2,
            EuWest3,
            IlCentral1,
            MeCentral1,
            MeSouth1,
            SaEast1,
            UsEast1,
            UsEast2,
            UsGovEast1,
            UsGovWest1,
            UsIsoEast1,
            UsIsoWest1,
            UsIsobEast1,
            UsWest1,
            UsWest2,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy