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

commonMain.aws.sdk.kotlin.services.mediaconvert.model.DescribeEndpointsMode.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model

import kotlin.collections.List

/**
 * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.
 */
@Deprecated("No longer recommended for use. See AWS API documentation for more details.")
public sealed class DescribeEndpointsMode {
    public abstract val value: kotlin.String

    public object Default : aws.sdk.kotlin.services.mediaconvert.model.DescribeEndpointsMode() {
        override val value: kotlin.String = "DEFAULT"
        override fun toString(): kotlin.String = "Default"
    }

    public object GetOnly : aws.sdk.kotlin.services.mediaconvert.model.DescribeEndpointsMode() {
        override val value: kotlin.String = "GET_ONLY"
        override fun toString(): kotlin.String = "GetOnly"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DescribeEndpointsMode() {
        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.mediaconvert.model.DescribeEndpointsMode = when (value) {
            "DEFAULT" -> Default
            "GET_ONLY" -> GetOnly
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            Default,
            GetOnly,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy