commonMain.aws.sdk.kotlin.services.mediaconvert.model.FileSourceTimeDeltaUnits.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediaconvert Show documentation
Show all versions of mediaconvert Show documentation
The AWS SDK for Kotlin client for MediaConvert
// 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