commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration.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
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chimesdkmediapipelines.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* The configuration for the artifacts concatenation.
*/
public class ArtifactsConcatenationConfiguration private constructor(builder: Builder) {
/**
* The configuration for the audio artifacts concatenation.
*/
public val audio: aws.sdk.kotlin.services.chimesdkmediapipelines.model.AudioConcatenationConfiguration? = builder.audio
/**
* The configuration for the composited video artifacts concatenation.
*/
public val compositedVideo: aws.sdk.kotlin.services.chimesdkmediapipelines.model.CompositedVideoConcatenationConfiguration? = builder.compositedVideo
/**
* The configuration for the content artifacts concatenation.
*/
public val content: aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentConcatenationConfiguration? = builder.content
/**
* The configuration for the data channel artifacts concatenation.
*/
public val dataChannel: aws.sdk.kotlin.services.chimesdkmediapipelines.model.DataChannelConcatenationConfiguration? = builder.dataChannel
/**
* The configuration for the meeting events artifacts concatenation.
*/
public val meetingEvents: aws.sdk.kotlin.services.chimesdkmediapipelines.model.MeetingEventsConcatenationConfiguration? = builder.meetingEvents
/**
* The configuration for the transcription messages artifacts concatenation.
*/
public val transcriptionMessages: aws.sdk.kotlin.services.chimesdkmediapipelines.model.TranscriptionMessagesConcatenationConfiguration? = builder.transcriptionMessages
/**
* The configuration for the video artifacts concatenation.
*/
public val video: aws.sdk.kotlin.services.chimesdkmediapipelines.model.VideoConcatenationConfiguration? = builder.video
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ArtifactsConcatenationConfiguration(")
append("audio=$audio,")
append("compositedVideo=$compositedVideo,")
append("content=$content,")
append("dataChannel=$dataChannel,")
append("meetingEvents=$meetingEvents,")
append("transcriptionMessages=$transcriptionMessages,")
append("video=$video")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = audio?.hashCode() ?: 0
result = 31 * result + (compositedVideo?.hashCode() ?: 0)
result = 31 * result + (content?.hashCode() ?: 0)
result = 31 * result + (dataChannel?.hashCode() ?: 0)
result = 31 * result + (meetingEvents?.hashCode() ?: 0)
result = 31 * result + (transcriptionMessages?.hashCode() ?: 0)
result = 31 * result + (video?.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 ArtifactsConcatenationConfiguration
if (audio != other.audio) return false
if (compositedVideo != other.compositedVideo) return false
if (content != other.content) return false
if (dataChannel != other.dataChannel) return false
if (meetingEvents != other.meetingEvents) return false
if (transcriptionMessages != other.transcriptionMessages) return false
if (video != other.video) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The configuration for the audio artifacts concatenation.
*/
public var audio: aws.sdk.kotlin.services.chimesdkmediapipelines.model.AudioConcatenationConfiguration? = null
/**
* The configuration for the composited video artifacts concatenation.
*/
public var compositedVideo: aws.sdk.kotlin.services.chimesdkmediapipelines.model.CompositedVideoConcatenationConfiguration? = null
/**
* The configuration for the content artifacts concatenation.
*/
public var content: aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentConcatenationConfiguration? = null
/**
* The configuration for the data channel artifacts concatenation.
*/
public var dataChannel: aws.sdk.kotlin.services.chimesdkmediapipelines.model.DataChannelConcatenationConfiguration? = null
/**
* The configuration for the meeting events artifacts concatenation.
*/
public var meetingEvents: aws.sdk.kotlin.services.chimesdkmediapipelines.model.MeetingEventsConcatenationConfiguration? = null
/**
* The configuration for the transcription messages artifacts concatenation.
*/
public var transcriptionMessages: aws.sdk.kotlin.services.chimesdkmediapipelines.model.TranscriptionMessagesConcatenationConfiguration? = null
/**
* The configuration for the video artifacts concatenation.
*/
public var video: aws.sdk.kotlin.services.chimesdkmediapipelines.model.VideoConcatenationConfiguration? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration) : this() {
this.audio = x.audio
this.compositedVideo = x.compositedVideo
this.content = x.content
this.dataChannel = x.dataChannel
this.meetingEvents = x.meetingEvents
this.transcriptionMessages = x.transcriptionMessages
this.video = x.video
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration = ArtifactsConcatenationConfiguration(this)
/**
* construct an [aws.sdk.kotlin.services.chimesdkmediapipelines.model.AudioConcatenationConfiguration] inside the given [block]
*/
public fun audio(block: aws.sdk.kotlin.services.chimesdkmediapipelines.model.AudioConcatenationConfiguration.Builder.() -> kotlin.Unit) {
this.audio = aws.sdk.kotlin.services.chimesdkmediapipelines.model.AudioConcatenationConfiguration.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.chimesdkmediapipelines.model.CompositedVideoConcatenationConfiguration] inside the given [block]
*/
public fun compositedVideo(block: aws.sdk.kotlin.services.chimesdkmediapipelines.model.CompositedVideoConcatenationConfiguration.Builder.() -> kotlin.Unit) {
this.compositedVideo = aws.sdk.kotlin.services.chimesdkmediapipelines.model.CompositedVideoConcatenationConfiguration.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentConcatenationConfiguration] inside the given [block]
*/
public fun content(block: aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentConcatenationConfiguration.Builder.() -> kotlin.Unit) {
this.content = aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentConcatenationConfiguration.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.chimesdkmediapipelines.model.DataChannelConcatenationConfiguration] inside the given [block]
*/
public fun dataChannel(block: aws.sdk.kotlin.services.chimesdkmediapipelines.model.DataChannelConcatenationConfiguration.Builder.() -> kotlin.Unit) {
this.dataChannel = aws.sdk.kotlin.services.chimesdkmediapipelines.model.DataChannelConcatenationConfiguration.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.chimesdkmediapipelines.model.MeetingEventsConcatenationConfiguration] inside the given [block]
*/
public fun meetingEvents(block: aws.sdk.kotlin.services.chimesdkmediapipelines.model.MeetingEventsConcatenationConfiguration.Builder.() -> kotlin.Unit) {
this.meetingEvents = aws.sdk.kotlin.services.chimesdkmediapipelines.model.MeetingEventsConcatenationConfiguration.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.chimesdkmediapipelines.model.TranscriptionMessagesConcatenationConfiguration] inside the given [block]
*/
public fun transcriptionMessages(block: aws.sdk.kotlin.services.chimesdkmediapipelines.model.TranscriptionMessagesConcatenationConfiguration.Builder.() -> kotlin.Unit) {
this.transcriptionMessages = aws.sdk.kotlin.services.chimesdkmediapipelines.model.TranscriptionMessagesConcatenationConfiguration.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.chimesdkmediapipelines.model.VideoConcatenationConfiguration] inside the given [block]
*/
public fun video(block: aws.sdk.kotlin.services.chimesdkmediapipelines.model.VideoConcatenationConfiguration.Builder.() -> kotlin.Unit) {
this.video = aws.sdk.kotlin.services.chimesdkmediapipelines.model.VideoConcatenationConfiguration.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}