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

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

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

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



/**
 * Esam
 */
public class Esam private constructor(builder: Builder) {
    /**
     * Sent as acquisitionPointIdentity to identify the MediaLive channel to the POIS.
     */
    public val acquisitionPointId: kotlin.String? = builder.acquisitionPointId
    /**
     * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. This only applies to embedded SCTE 104/35 messages and does not apply to OOB messages.
     */
    public val adAvailOffset: kotlin.Int = builder.adAvailOffset
    /**
     * Documentation update needed
     */
    public val passwordParam: kotlin.String? = builder.passwordParam
    /**
     * The URL of the signal conditioner endpoint on the Placement Opportunity Information System (POIS). MediaLive sends SignalProcessingEvents here when SCTE-35 messages are read.
     */
    public val poisEndpoint: kotlin.String? = builder.poisEndpoint
    /**
     * Documentation update needed
     */
    public val username: kotlin.String? = builder.username
    /**
     * Optional data sent as zoneIdentity to identify the MediaLive channel to the POIS.
     */
    public val zoneIdentity: kotlin.String? = builder.zoneIdentity

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

    override fun toString(): kotlin.String = buildString {
        append("Esam(")
        append("acquisitionPointId=$acquisitionPointId,")
        append("adAvailOffset=$adAvailOffset,")
        append("passwordParam=$passwordParam,")
        append("poisEndpoint=$poisEndpoint,")
        append("username=$username,")
        append("zoneIdentity=$zoneIdentity")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = acquisitionPointId?.hashCode() ?: 0
        result = 31 * result + (adAvailOffset)
        result = 31 * result + (passwordParam?.hashCode() ?: 0)
        result = 31 * result + (poisEndpoint?.hashCode() ?: 0)
        result = 31 * result + (username?.hashCode() ?: 0)
        result = 31 * result + (zoneIdentity?.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 Esam

        if (acquisitionPointId != other.acquisitionPointId) return false
        if (adAvailOffset != other.adAvailOffset) return false
        if (passwordParam != other.passwordParam) return false
        if (poisEndpoint != other.poisEndpoint) return false
        if (username != other.username) return false
        if (zoneIdentity != other.zoneIdentity) return false

        return true
    }

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

    public class Builder {
        /**
         * Sent as acquisitionPointIdentity to identify the MediaLive channel to the POIS.
         */
        public var acquisitionPointId: kotlin.String? = null
        /**
         * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. This only applies to embedded SCTE 104/35 messages and does not apply to OOB messages.
         */
        public var adAvailOffset: kotlin.Int = 0
        /**
         * Documentation update needed
         */
        public var passwordParam: kotlin.String? = null
        /**
         * The URL of the signal conditioner endpoint on the Placement Opportunity Information System (POIS). MediaLive sends SignalProcessingEvents here when SCTE-35 messages are read.
         */
        public var poisEndpoint: kotlin.String? = null
        /**
         * Documentation update needed
         */
        public var username: kotlin.String? = null
        /**
         * Optional data sent as zoneIdentity to identify the MediaLive channel to the POIS.
         */
        public var zoneIdentity: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.Esam) : this() {
            this.acquisitionPointId = x.acquisitionPointId
            this.adAvailOffset = x.adAvailOffset
            this.passwordParam = x.passwordParam
            this.poisEndpoint = x.poisEndpoint
            this.username = x.username
            this.zoneIdentity = x.zoneIdentity
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy