All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.medialive.model.TtmlDestinationSettings.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.medialive.model



/**
 * Ttml Destination Settings
 */
public class TtmlDestinationSettings private constructor(builder: Builder) {
    /**
     * This field is not currently supported and will not affect the output styling. Leave the default value.
     */
    public val styleControl: aws.sdk.kotlin.services.medialive.model.TtmlDestinationStyleControl? = builder.styleControl

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.TtmlDestinationSettings = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("TtmlDestinationSettings(")
        append("styleControl=$styleControl")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = styleControl?.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 TtmlDestinationSettings

        if (styleControl != other.styleControl) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.TtmlDestinationSettings = Builder(this).apply(block).build()

    public class Builder {
        /**
         * This field is not currently supported and will not affect the output styling. Leave the default value.
         */
        public var styleControl: aws.sdk.kotlin.services.medialive.model.TtmlDestinationStyleControl? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.TtmlDestinationSettings) : this() {
            this.styleControl = x.styleControl
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.medialive.model.TtmlDestinationSettings = TtmlDestinationSettings(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy