commonMain.aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment.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
/**
* 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 = value
}
public object Centered : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
override val value: kotlin.String = "CENTERED"
override fun toString(): kotlin.String = value
}
public object Left : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
override val value: kotlin.String = "LEFT"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
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.DvbSubtitleAlignment = when(str) {
"AUTO" -> Auto
"CENTERED" -> Centered
"LEFT" -> Left
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
Auto,
Centered,
Left
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy