
commonMain.aws.sdk.kotlin.services.medialive.model.MultiplexProgramPipelineDetail.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* The current source for one of the pipelines in the multiplex.
*/
public class MultiplexProgramPipelineDetail private constructor(builder: Builder) {
/**
* Identifies the channel pipeline that is currently active for the pipeline (identified by PipelineId) in the multiplex.
*/
public val activeChannelPipeline: kotlin.String? = builder.activeChannelPipeline
/**
* Identifies a specific pipeline in the multiplex.
*/
public val pipelineId: kotlin.String? = builder.pipelineId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.MultiplexProgramPipelineDetail = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("MultiplexProgramPipelineDetail(")
append("activeChannelPipeline=$activeChannelPipeline,")
append("pipelineId=$pipelineId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = activeChannelPipeline?.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 MultiplexProgramPipelineDetail
if (activeChannelPipeline != other.activeChannelPipeline) return false
if (pipelineId != other.pipelineId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.MultiplexProgramPipelineDetail = Builder(this).apply(block).build()
public class Builder {
/**
* Identifies the channel pipeline that is currently active for the pipeline (identified by PipelineId) in the multiplex.
*/
public var activeChannelPipeline: kotlin.String? = null
/**
* Identifies a specific pipeline in the multiplex.
*/
public var pipelineId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.MultiplexProgramPipelineDetail) : this() {
this.activeChannelPipeline = x.activeChannelPipeline
this.pipelineId = x.pipelineId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.MultiplexProgramPipelineDetail = MultiplexProgramPipelineDetail(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy