commonMain.aws.sdk.kotlin.services.mediaconvert.model.DashIsoIntervalCadence.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediaconvert-jvm Show documentation
Show all versions of mediaconvert-jvm 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
/**
* The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.
*/
public sealed class DashIsoIntervalCadence {
public abstract val value: kotlin.String
public object FollowCustom : aws.sdk.kotlin.services.mediaconvert.model.DashIsoIntervalCadence() {
override val value: kotlin.String = "FOLLOW_CUSTOM"
override fun toString(): kotlin.String = "FollowCustom"
}
public object FollowIframe : aws.sdk.kotlin.services.mediaconvert.model.DashIsoIntervalCadence() {
override val value: kotlin.String = "FOLLOW_IFRAME"
override fun toString(): kotlin.String = "FollowIframe"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DashIsoIntervalCadence() {
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.DashIsoIntervalCadence = when (value) {
"FOLLOW_CUSTOM" -> FollowCustom
"FOLLOW_IFRAME" -> FollowIframe
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
FollowCustom,
FollowIframe,
)
}
}