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

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

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

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



/**
 * Audio Dolby EDecode
 */
public class AudioDolbyEDecode private constructor(builder: Builder) {
    /**
     * Applies only to Dolby E. Enter the program ID (according to the metadata in the audio) of the Dolby E program to extract from the specified track. One program extracted per audio selector. To select multiple programs, create multiple selectors with the same Track and different Program numbers. “All channels” means to ignore the program IDs and include all the channels in this selector; useful if metadata is known to be incorrect.
     */
    public val programSelection: aws.sdk.kotlin.services.medialive.model.DolbyEProgramSelection? = builder.programSelection

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

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

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

        if (programSelection != other.programSelection) return false

        return true
    }

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

    public class Builder {
        /**
         * Applies only to Dolby E. Enter the program ID (according to the metadata in the audio) of the Dolby E program to extract from the specified track. One program extracted per audio selector. To select multiple programs, create multiple selectors with the same Track and different Program numbers. “All channels” means to ignore the program IDs and include all the channels in this selector; useful if metadata is known to be incorrect.
         */
        public var programSelection: aws.sdk.kotlin.services.medialive.model.DolbyEProgramSelection? = null

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy