
commonMain.aws.sdk.kotlin.services.medialive.model.UpdateMultiplexProgramResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Placeholder documentation for UpdateMultiplexProgramResponse
*/
public class UpdateMultiplexProgramResponse private constructor(builder: Builder) {
/**
* The updated multiplex program.
*/
public val multiplexProgram: aws.sdk.kotlin.services.medialive.model.MultiplexProgram? = builder.multiplexProgram
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.UpdateMultiplexProgramResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateMultiplexProgramResponse(")
append("multiplexProgram=$multiplexProgram")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = multiplexProgram?.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 UpdateMultiplexProgramResponse
if (multiplexProgram != other.multiplexProgram) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.UpdateMultiplexProgramResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The updated multiplex program.
*/
public var multiplexProgram: aws.sdk.kotlin.services.medialive.model.MultiplexProgram? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.UpdateMultiplexProgramResponse) : this() {
this.multiplexProgram = x.multiplexProgram
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.UpdateMultiplexProgramResponse = UpdateMultiplexProgramResponse(this)
/**
* construct an [aws.sdk.kotlin.services.medialive.model.MultiplexProgram] inside the given [block]
*/
public fun multiplexProgram(block: aws.sdk.kotlin.services.medialive.model.MultiplexProgram.Builder.() -> kotlin.Unit) {
this.multiplexProgram = aws.sdk.kotlin.services.medialive.model.MultiplexProgram.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy