commonMain.aws.sdk.kotlin.services.mediaconvert.model.DolbyVisionLevel6Mode.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
/**
* Use Dolby Vision Mode to choose how the service will handle Dolby Vision MaxCLL and MaxFALL properies.
*/
public sealed class DolbyVisionLevel6Mode {
public abstract val value: kotlin.String
public object Passthrough : aws.sdk.kotlin.services.mediaconvert.model.DolbyVisionLevel6Mode() {
override val value: kotlin.String = "PASSTHROUGH"
override fun toString(): kotlin.String = value
}
public object Recalculate : aws.sdk.kotlin.services.mediaconvert.model.DolbyVisionLevel6Mode() {
override val value: kotlin.String = "RECALCULATE"
override fun toString(): kotlin.String = value
}
public object Specify : aws.sdk.kotlin.services.mediaconvert.model.DolbyVisionLevel6Mode() {
override val value: kotlin.String = "SPECIFY"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DolbyVisionLevel6Mode() {
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.DolbyVisionLevel6Mode = when(str) {
"PASSTHROUGH" -> Passthrough
"RECALCULATE" -> Recalculate
"SPECIFY" -> Specify
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
Passthrough,
Recalculate,
Specify
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy