
commonMain.aws.sdk.kotlin.services.mediaconvert.model.DvbSubSourceSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* DVB Sub Source Settings
*/
public class DvbSubSourceSettings private constructor(builder: Builder) {
/**
* When using DVB-Sub with Burn-in, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.
*/
public val pid: kotlin.Int? = builder.pid
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.DvbSubSourceSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DvbSubSourceSettings(")
append("pid=$pid")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = pid ?: 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 DvbSubSourceSettings
if (pid != other.pid) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.DvbSubSourceSettings = Builder(this).apply(block).build()
public class Builder {
/**
* When using DVB-Sub with Burn-in, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.
*/
public var pid: kotlin.Int? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.DvbSubSourceSettings) : this() {
this.pid = x.pid
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.DvbSubSourceSettings = DvbSubSourceSettings(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy