
commonMain.aws.sdk.kotlin.services.mediaconvert.model.AlphaBehavior.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses. Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs.
*/
public sealed class AlphaBehavior {
public abstract val value: kotlin.String
public object Discard : aws.sdk.kotlin.services.mediaconvert.model.AlphaBehavior() {
override val value: kotlin.String = "DISCARD"
override fun toString(): kotlin.String = "Discard"
}
public object RemapToLuma : aws.sdk.kotlin.services.mediaconvert.model.AlphaBehavior() {
override val value: kotlin.String = "REMAP_TO_LUMA"
override fun toString(): kotlin.String = "RemapToLuma"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.AlphaBehavior() {
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.AlphaBehavior = when (value) {
"DISCARD" -> Discard
"REMAP_TO_LUMA" -> RemapToLuma
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Discard,
RemapToLuma,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy