
commonMain.aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment.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 alignment of your captions. If no explicit x_position is provided, setting alignment to centered will placethe captions at the bottom center of the output. Similarly, setting a left alignment willalign captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. Within your job settings, all of your DVB-Sub settings must be identical.
*/
public sealed class DvbSubtitleAlignment {
public abstract val value: kotlin.String
public object Auto : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
override val value: kotlin.String = "AUTO"
override fun toString(): kotlin.String = "Auto"
}
public object Centered : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
override val value: kotlin.String = "CENTERED"
override fun toString(): kotlin.String = "Centered"
}
public object Left : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
override val value: kotlin.String = "LEFT"
override fun toString(): kotlin.String = "Left"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
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.DvbSubtitleAlignment = when (value) {
"AUTO" -> Auto
"CENTERED" -> Centered
"LEFT" -> Left
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Auto,
Centered,
Left,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy