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

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

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

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

import kotlin.collections.List

/**
 * Specify how MediaConvert handles the display definition segment (DDS). To exclude the DDS from this set of captions: Keep the default, None. To include the DDS: Choose Specified. When you do, also specify the offset coordinates of the display window with DDS x-coordinate and DDS y-coordinate. To include the DDS, but not include display window data: Choose No display window. When you do, you can write position metadata to the page composition segment (PCS) with DDS x-coordinate and DDS y-coordinate. For video resolutions with a height of 576 pixels or less, MediaConvert doesn't include the DDS, regardless of the value you choose for DDS handling. All burn-in and DVB-Sub font settings must match.
 */
public sealed class DvbddsHandling {
    public abstract val value: kotlin.String

    public object None : aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling() {
        override val value: kotlin.String = "NONE"
        override fun toString(): kotlin.String = "None"
    }

    public object NoDisplayWindow : aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling() {
        override val value: kotlin.String = "NO_DISPLAY_WINDOW"
        override fun toString(): kotlin.String = "NoDisplayWindow"
    }

    public object Specified : aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling() {
        override val value: kotlin.String = "SPECIFIED"
        override fun toString(): kotlin.String = "Specified"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling() {
        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.DvbddsHandling = when (value) {
            "NONE" -> None
            "NO_DISPLAY_WINDOW" -> NoDisplayWindow
            "SPECIFIED" -> Specified
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            None,
            NoDisplayWindow,
            Specified,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy