
commonMain.aws.sdk.kotlin.services.mediaconvert.model.BurninSubtitleFallbackFont.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you set Fallback font to best match, or leave blank, MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input.
*/
public sealed class BurninSubtitleFallbackFont {
public abstract val value: kotlin.String
public object BestMatch : aws.sdk.kotlin.services.mediaconvert.model.BurninSubtitleFallbackFont() {
override val value: kotlin.String = "BEST_MATCH"
override fun toString(): kotlin.String = "BestMatch"
}
public object MonospacedSansserif : aws.sdk.kotlin.services.mediaconvert.model.BurninSubtitleFallbackFont() {
override val value: kotlin.String = "MONOSPACED_SANSSERIF"
override fun toString(): kotlin.String = "MonospacedSansserif"
}
public object MonospacedSerif : aws.sdk.kotlin.services.mediaconvert.model.BurninSubtitleFallbackFont() {
override val value: kotlin.String = "MONOSPACED_SERIF"
override fun toString(): kotlin.String = "MonospacedSerif"
}
public object ProportionalSansserif : aws.sdk.kotlin.services.mediaconvert.model.BurninSubtitleFallbackFont() {
override val value: kotlin.String = "PROPORTIONAL_SANSSERIF"
override fun toString(): kotlin.String = "ProportionalSansserif"
}
public object ProportionalSerif : aws.sdk.kotlin.services.mediaconvert.model.BurninSubtitleFallbackFont() {
override val value: kotlin.String = "PROPORTIONAL_SERIF"
override fun toString(): kotlin.String = "ProportionalSerif"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.BurninSubtitleFallbackFont() {
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.BurninSubtitleFallbackFont = when (value) {
"BEST_MATCH" -> BestMatch
"MONOSPACED_SANSSERIF" -> MonospacedSansserif
"MONOSPACED_SERIF" -> MonospacedSerif
"PROPORTIONAL_SANSSERIF" -> ProportionalSansserif
"PROPORTIONAL_SERIF" -> ProportionalSerif
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
BestMatch,
MonospacedSansserif,
MonospacedSerif,
ProportionalSansserif,
ProportionalSerif,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy