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

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

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

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



/**
 * Hdr10 Settings
 */
public class Hdr10Settings private constructor(builder: Builder) {
    /**
     * Maximum Content Light Level An integer metadata value defining the maximum light level, in nits, of any single pixel within an encoded HDR video stream or file.
     */
    public val maxCll: kotlin.Int = builder.maxCll
    /**
     * Maximum Frame Average Light Level An integer metadata value defining the maximum average light level, in nits, for any single frame within an encoded HDR video stream or file.
     */
    public val maxFall: kotlin.Int = builder.maxFall

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

    override fun toString(): kotlin.String = buildString {
        append("Hdr10Settings(")
        append("maxCll=$maxCll,")
        append("maxFall=$maxFall")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = maxCll
        result = 31 * result + (maxFall)
        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 Hdr10Settings

        if (maxCll != other.maxCll) return false
        if (maxFall != other.maxFall) return false

        return true
    }

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

    public class Builder {
        /**
         * Maximum Content Light Level An integer metadata value defining the maximum light level, in nits, of any single pixel within an encoded HDR video stream or file.
         */
        public var maxCll: kotlin.Int = 0
        /**
         * Maximum Frame Average Light Level An integer metadata value defining the maximum average light level, in nits, for any single frame within an encoded HDR video stream or file.
         */
        public var maxFall: kotlin.Int = 0

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.Hdr10Settings) : this() {
            this.maxCll = x.maxCll
            this.maxFall = x.maxFall
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy