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

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

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

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



/**
 * Runtime details of a pipeline when a channel is running.
 */
public class PipelineDetail private constructor(builder: Builder) {
    /**
     * The name of the active input attachment currently being ingested by this pipeline.
     */
    public val activeInputAttachmentName: kotlin.String? = builder.activeInputAttachmentName
    /**
     * The name of the input switch schedule action that occurred most recently and that resulted in the switch to the current input attachment for this pipeline.
     */
    public val activeInputSwitchActionName: kotlin.String? = builder.activeInputSwitchActionName
    /**
     * The name of the motion graphics activate action that occurred most recently and that resulted in the current graphics URI for this pipeline.
     */
    public val activeMotionGraphicsActionName: kotlin.String? = builder.activeMotionGraphicsActionName
    /**
     * The current URI being used for HTML5 motion graphics for this pipeline.
     */
    public val activeMotionGraphicsUri: kotlin.String? = builder.activeMotionGraphicsUri
    /**
     * Pipeline ID
     */
    public val pipelineId: kotlin.String? = builder.pipelineId

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

    override fun toString(): kotlin.String = buildString {
        append("PipelineDetail(")
        append("activeInputAttachmentName=$activeInputAttachmentName,")
        append("activeInputSwitchActionName=$activeInputSwitchActionName,")
        append("activeMotionGraphicsActionName=$activeMotionGraphicsActionName,")
        append("activeMotionGraphicsUri=$activeMotionGraphicsUri,")
        append("pipelineId=$pipelineId")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = activeInputAttachmentName?.hashCode() ?: 0
        result = 31 * result + (activeInputSwitchActionName?.hashCode() ?: 0)
        result = 31 * result + (activeMotionGraphicsActionName?.hashCode() ?: 0)
        result = 31 * result + (activeMotionGraphicsUri?.hashCode() ?: 0)
        result = 31 * result + (pipelineId?.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 PipelineDetail

        if (activeInputAttachmentName != other.activeInputAttachmentName) return false
        if (activeInputSwitchActionName != other.activeInputSwitchActionName) return false
        if (activeMotionGraphicsActionName != other.activeMotionGraphicsActionName) return false
        if (activeMotionGraphicsUri != other.activeMotionGraphicsUri) return false
        if (pipelineId != other.pipelineId) return false

        return true
    }

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

    public class Builder {
        /**
         * The name of the active input attachment currently being ingested by this pipeline.
         */
        public var activeInputAttachmentName: kotlin.String? = null
        /**
         * The name of the input switch schedule action that occurred most recently and that resulted in the switch to the current input attachment for this pipeline.
         */
        public var activeInputSwitchActionName: kotlin.String? = null
        /**
         * The name of the motion graphics activate action that occurred most recently and that resulted in the current graphics URI for this pipeline.
         */
        public var activeMotionGraphicsActionName: kotlin.String? = null
        /**
         * The current URI being used for HTML5 motion graphics for this pipeline.
         */
        public var activeMotionGraphicsUri: kotlin.String? = null
        /**
         * Pipeline ID
         */
        public var pipelineId: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.PipelineDetail) : this() {
            this.activeInputAttachmentName = x.activeInputAttachmentName
            this.activeInputSwitchActionName = x.activeInputSwitchActionName
            this.activeMotionGraphicsActionName = x.activeMotionGraphicsActionName
            this.activeMotionGraphicsUri = x.activeMotionGraphicsUri
            this.pipelineId = x.pipelineId
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy