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

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

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

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



/**
 * Nielsen CBET
 */
public class NielsenCbet private constructor(builder: Builder) {
    /**
     * Enter the CBET check digits to use in the watermark.
     */
    public val cbetCheckDigitString: kotlin.String? = builder.cbetCheckDigitString
    /**
     * Determines the method of CBET insertion mode when prior encoding is detected on the same layer.
     */
    public val cbetStepaside: aws.sdk.kotlin.services.medialive.model.NielsenWatermarksCbetStepaside? = builder.cbetStepaside
    /**
     * Enter the CBET Source ID (CSID) to use in the watermark
     */
    public val csid: kotlin.String? = builder.csid

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

    override fun toString(): kotlin.String = buildString {
        append("NielsenCbet(")
        append("cbetCheckDigitString=$cbetCheckDigitString,")
        append("cbetStepaside=$cbetStepaside,")
        append("csid=$csid")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = cbetCheckDigitString?.hashCode() ?: 0
        result = 31 * result + (cbetStepaside?.hashCode() ?: 0)
        result = 31 * result + (csid?.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 NielsenCbet

        if (cbetCheckDigitString != other.cbetCheckDigitString) return false
        if (cbetStepaside != other.cbetStepaside) return false
        if (csid != other.csid) return false

        return true
    }

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

    public class Builder {
        /**
         * Enter the CBET check digits to use in the watermark.
         */
        public var cbetCheckDigitString: kotlin.String? = null
        /**
         * Determines the method of CBET insertion mode when prior encoding is detected on the same layer.
         */
        public var cbetStepaside: aws.sdk.kotlin.services.medialive.model.NielsenWatermarksCbetStepaside? = null
        /**
         * Enter the CBET Source ID (CSID) to use in the watermark
         */
        public var csid: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.NielsenCbet) : this() {
            this.cbetCheckDigitString = x.cbetCheckDigitString
            this.cbetStepaside = x.cbetStepaside
            this.csid = x.csid
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy