
commonMain.aws.sdk.kotlin.services.mediaconvert.model.TimecodeBurnin.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* Settings for burning the output timecode and specified prefix into the output.
*/
public class TimecodeBurnin private constructor(builder: Builder) {
/**
* Use Font size to set the font size of any burned-in timecode. Valid values are 10, 16, 32, 48.
*/
public val fontSize: kotlin.Int? = builder.fontSize
/**
* Use Position under Timecode burn-in to specify the location the burned-in timecode on output video.
*/
public val position: aws.sdk.kotlin.services.mediaconvert.model.TimecodeBurninPosition? = builder.position
/**
* Use Prefix to place ASCII characters before any burned-in timecode. For example, a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either the characters themselves or the ASCII code equivalents. The supported range of characters is 0x20 through 0x7e. This includes letters, numbers, and all special characters represented on a standard English keyboard.
*/
public val prefix: kotlin.String? = builder.prefix
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.TimecodeBurnin = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("TimecodeBurnin(")
append("fontSize=$fontSize,")
append("position=$position,")
append("prefix=$prefix")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = fontSize ?: 0
result = 31 * result + (position?.hashCode() ?: 0)
result = 31 * result + (prefix?.hashCode() ?: 0)
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as TimecodeBurnin
if (fontSize != other.fontSize) return false
if (position != other.position) return false
if (prefix != other.prefix) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.TimecodeBurnin = Builder(this).apply(block).build()
public class Builder {
/**
* Use Font size to set the font size of any burned-in timecode. Valid values are 10, 16, 32, 48.
*/
public var fontSize: kotlin.Int? = null
/**
* Use Position under Timecode burn-in to specify the location the burned-in timecode on output video.
*/
public var position: aws.sdk.kotlin.services.mediaconvert.model.TimecodeBurninPosition? = null
/**
* Use Prefix to place ASCII characters before any burned-in timecode. For example, a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either the characters themselves or the ASCII code equivalents. The supported range of characters is 0x20 through 0x7e. This includes letters, numbers, and all special characters represented on a standard English keyboard.
*/
public var prefix: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.TimecodeBurnin) : this() {
this.fontSize = x.fontSize
this.position = x.position
this.prefix = x.prefix
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.TimecodeBurnin = TimecodeBurnin(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy