commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.SelectedVideoStreams.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chimesdkmediapipelines-jvm Show documentation
Show all versions of chimesdkmediapipelines-jvm Show documentation
The AWS SDK for Kotlin client for Chime SDK Media Pipelines
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chimesdkmediapipelines.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* The video streams for a specified media pipeline. The total number of video streams can't exceed 25.
*/
public class SelectedVideoStreams private constructor(builder: Builder) {
/**
* The attendee IDs of the streams selected for a media pipeline.
*/
public val attendeeIds: List? = builder.attendeeIds
/**
* The external user IDs of the streams selected for a media pipeline.
*/
public val externalUserIds: List? = builder.externalUserIds
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmediapipelines.model.SelectedVideoStreams = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("SelectedVideoStreams(")
append("attendeeIds=$attendeeIds,")
append("externalUserIds=*** Sensitive Data Redacted ***")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = attendeeIds?.hashCode() ?: 0
result = 31 * result + (externalUserIds?.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 SelectedVideoStreams
if (attendeeIds != other.attendeeIds) return false
if (externalUserIds != other.externalUserIds) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmediapipelines.model.SelectedVideoStreams = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The attendee IDs of the streams selected for a media pipeline.
*/
public var attendeeIds: List? = null
/**
* The external user IDs of the streams selected for a media pipeline.
*/
public var externalUserIds: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmediapipelines.model.SelectedVideoStreams) : this() {
this.attendeeIds = x.attendeeIds
this.externalUserIds = x.externalUserIds
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmediapipelines.model.SelectedVideoStreams = SelectedVideoStreams(this)
internal fun correctErrors(): Builder {
return this
}
}
}