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

commonMain.aws.sdk.kotlin.services.mediaconvert.model.FileSourceTimeDeltaUnits.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.mediaconvert.model

import kotlin.collections.List

/**
 * When you use the setting Time delta (TimeDelta) to adjust the sync between your sidecar captions and your video, use this setting to specify the units for the delta that you specify. When you don't specify a value for Time delta units (TimeDeltaUnits), MediaConvert uses seconds by default.
 */
public sealed class FileSourceTimeDeltaUnits {

    public abstract val value: kotlin.String

    public object Milliseconds : aws.sdk.kotlin.services.mediaconvert.model.FileSourceTimeDeltaUnits() {
        override val value: kotlin.String = "MILLISECONDS"
        override fun toString(): kotlin.String = value
    }

    public object Seconds : aws.sdk.kotlin.services.mediaconvert.model.FileSourceTimeDeltaUnits() {
        override val value: kotlin.String = "SECONDS"
        override fun toString(): kotlin.String = value
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.FileSourceTimeDeltaUnits() {
        override fun toString(): kotlin.String = value
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.FileSourceTimeDeltaUnits = when(str) {
            "MILLISECONDS" -> Milliseconds
            "SECONDS" -> Seconds
            else -> SdkUnknown(str)
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy