
commonMain.aws.sdk.kotlin.services.medialive.model.RemixSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Remix Settings
*/
public class RemixSettings private constructor(builder: Builder) {
/**
* Mapping of input channels to output channels, with appropriate gain adjustments.
*/
public val channelMappings: List? = builder.channelMappings
/**
* Number of input channels to be used.
*/
public val channelsIn: kotlin.Int = builder.channelsIn
/**
* Number of output channels to be produced. Valid values: 1, 2, 4, 6, 8
*/
public val channelsOut: kotlin.Int = builder.channelsOut
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.RemixSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("RemixSettings(")
append("channelMappings=$channelMappings,")
append("channelsIn=$channelsIn,")
append("channelsOut=$channelsOut")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = channelMappings?.hashCode() ?: 0
result = 31 * result + (channelsIn)
result = 31 * result + (channelsOut)
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 RemixSettings
if (channelMappings != other.channelMappings) return false
if (channelsIn != other.channelsIn) return false
if (channelsOut != other.channelsOut) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.RemixSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Mapping of input channels to output channels, with appropriate gain adjustments.
*/
public var channelMappings: List? = null
/**
* Number of input channels to be used.
*/
public var channelsIn: kotlin.Int = 0
/**
* Number of output channels to be produced. Valid values: 1, 2, 4, 6, 8
*/
public var channelsOut: kotlin.Int = 0
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.RemixSettings) : this() {
this.channelMappings = x.channelMappings
this.channelsIn = x.channelsIn
this.channelsOut = x.channelsOut
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.RemixSettings = RemixSettings(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy