commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.ChimeSdkMeetingConcatenationConfiguration.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 object of the Amazon Chime SDK meeting concatenation for a specified media pipeline.
*/
public class ChimeSdkMeetingConcatenationConfiguration private constructor(builder: Builder) {
/**
* The configuration for the artifacts in an Amazon Chime SDK meeting concatenation.
*/
public val artifactsConfiguration: aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration? = builder.artifactsConfiguration
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmediapipelines.model.ChimeSdkMeetingConcatenationConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ChimeSdkMeetingConcatenationConfiguration(")
append("artifactsConfiguration=$artifactsConfiguration")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = artifactsConfiguration?.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 ChimeSdkMeetingConcatenationConfiguration
if (artifactsConfiguration != other.artifactsConfiguration) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmediapipelines.model.ChimeSdkMeetingConcatenationConfiguration = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The configuration for the artifacts in an Amazon Chime SDK meeting concatenation.
*/
public var artifactsConfiguration: aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmediapipelines.model.ChimeSdkMeetingConcatenationConfiguration) : this() {
this.artifactsConfiguration = x.artifactsConfiguration
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmediapipelines.model.ChimeSdkMeetingConcatenationConfiguration = ChimeSdkMeetingConcatenationConfiguration(this)
/**
* construct an [aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration] inside the given [block]
*/
public fun artifactsConfiguration(block: aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration.Builder.() -> kotlin.Unit) {
this.artifactsConfiguration = aws.sdk.kotlin.services.chimesdkmediapipelines.model.ArtifactsConcatenationConfiguration.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}