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

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

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

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

import kotlin.collections.List

/**
 * When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4. The interval between these additional markers will be fixed, and will be slightly shorter than the video EBP marker interval. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).
 */
public sealed class M2tsEbpAudioInterval {
    public abstract val value: kotlin.String

    public object VideoAndFixedIntervals : aws.sdk.kotlin.services.mediaconvert.model.M2tsEbpAudioInterval() {
        override val value: kotlin.String = "VIDEO_AND_FIXED_INTERVALS"
        override fun toString(): kotlin.String = "VideoAndFixedIntervals"
    }

    public object VideoInterval : aws.sdk.kotlin.services.mediaconvert.model.M2tsEbpAudioInterval() {
        override val value: kotlin.String = "VIDEO_INTERVAL"
        override fun toString(): kotlin.String = "VideoInterval"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.M2tsEbpAudioInterval() {
        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.M2tsEbpAudioInterval = when (value) {
            "VIDEO_AND_FIXED_INTERVALS" -> VideoAndFixedIntervals
            "VIDEO_INTERVAL" -> VideoInterval
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            VideoAndFixedIntervals,
            VideoInterval,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy