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