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

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

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

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



/**
 * Fmp4 Hls Settings
 */
public class Fmp4HlsSettings private constructor(builder: Builder) {
    /**
     * List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.
     */
    public val audioRenditionSets: kotlin.String? = builder.audioRenditionSets
    /**
     * If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
     */
    public val nielsenId3Behavior: aws.sdk.kotlin.services.medialive.model.Fmp4NielsenId3Behavior? = builder.nielsenId3Behavior
    /**
     * When set to passthrough, timed metadata is passed through from input to output.
     */
    public val timedMetadataBehavior: aws.sdk.kotlin.services.medialive.model.Fmp4TimedMetadataBehavior? = builder.timedMetadataBehavior

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

    override fun toString(): kotlin.String = buildString {
        append("Fmp4HlsSettings(")
        append("audioRenditionSets=$audioRenditionSets,")
        append("nielsenId3Behavior=$nielsenId3Behavior,")
        append("timedMetadataBehavior=$timedMetadataBehavior")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = audioRenditionSets?.hashCode() ?: 0
        result = 31 * result + (nielsenId3Behavior?.hashCode() ?: 0)
        result = 31 * result + (timedMetadataBehavior?.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 Fmp4HlsSettings

        if (audioRenditionSets != other.audioRenditionSets) return false
        if (nielsenId3Behavior != other.nielsenId3Behavior) return false
        if (timedMetadataBehavior != other.timedMetadataBehavior) return false

        return true
    }

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

    public class Builder {
        /**
         * List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.
         */
        public var audioRenditionSets: kotlin.String? = null
        /**
         * If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
         */
        public var nielsenId3Behavior: aws.sdk.kotlin.services.medialive.model.Fmp4NielsenId3Behavior? = null
        /**
         * When set to passthrough, timed metadata is passed through from input to output.
         */
        public var timedMetadataBehavior: aws.sdk.kotlin.services.medialive.model.Fmp4TimedMetadataBehavior? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.Fmp4HlsSettings) : this() {
            this.audioRenditionSets = x.audioRenditionSets
            this.nielsenId3Behavior = x.nielsenId3Behavior
            this.timedMetadataBehavior = x.timedMetadataBehavior
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy