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

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

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

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



/**
 * Scte35Input Schedule Action Settings
 */
public class Scte35InputScheduleActionSettings private constructor(builder: Builder) {
    /**
     * In fixed mode, enter the name of the input attachment that you want to use as a SCTE-35 input. (Don't enter the ID of the input.)"
     */
    public val inputAttachmentNameReference: kotlin.String? = builder.inputAttachmentNameReference
    /**
     * Whether the SCTE-35 input should be the active input or a fixed input.
     */
    public val mode: aws.sdk.kotlin.services.medialive.model.Scte35InputMode? = builder.mode

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

    override fun toString(): kotlin.String = buildString {
        append("Scte35InputScheduleActionSettings(")
        append("inputAttachmentNameReference=$inputAttachmentNameReference,")
        append("mode=$mode")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = inputAttachmentNameReference?.hashCode() ?: 0
        result = 31 * result + (mode?.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 Scte35InputScheduleActionSettings

        if (inputAttachmentNameReference != other.inputAttachmentNameReference) return false
        if (mode != other.mode) return false

        return true
    }

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

    public class Builder {
        /**
         * In fixed mode, enter the name of the input attachment that you want to use as a SCTE-35 input. (Don't enter the ID of the input.)"
         */
        public var inputAttachmentNameReference: kotlin.String? = null
        /**
         * Whether the SCTE-35 input should be the active input or a fixed input.
         */
        public var mode: aws.sdk.kotlin.services.medialive.model.Scte35InputMode? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.Scte35InputScheduleActionSettings) : this() {
            this.inputAttachmentNameReference = x.inputAttachmentNameReference
            this.mode = x.mode
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy