
commonMain.aws.sdk.kotlin.services.medialive.model.MediaPackageOutputDestinationSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* MediaPackage Output Destination Settings
*/
public class MediaPackageOutputDestinationSettings private constructor(builder: Builder) {
/**
* ID of the channel in MediaPackage that is the destination for this output group. You do not need to specify the individual inputs in MediaPackage; MediaLive will handle the connection of the two MediaLive pipelines to the two MediaPackage inputs. The MediaPackage channel and MediaLive channel must be in the same region.
*/
public val channelId: kotlin.String? = builder.channelId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.MediaPackageOutputDestinationSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("MediaPackageOutputDestinationSettings(")
append("channelId=$channelId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = channelId?.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 MediaPackageOutputDestinationSettings
if (channelId != other.channelId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.MediaPackageOutputDestinationSettings = Builder(this).apply(block).build()
public class Builder {
/**
* ID of the channel in MediaPackage that is the destination for this output group. You do not need to specify the individual inputs in MediaPackage; MediaLive will handle the connection of the two MediaLive pipelines to the two MediaPackage inputs. The MediaPackage channel and MediaLive channel must be in the same region.
*/
public var channelId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.MediaPackageOutputDestinationSettings) : this() {
this.channelId = x.channelId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.MediaPackageOutputDestinationSettings = MediaPackageOutputDestinationSettings(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy