commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.CreateMediaLiveConnectorPipelineResponse.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
public class CreateMediaLiveConnectorPipelineResponse private constructor(builder: Builder) {
/**
* The new media live connector pipeline.
*/
public val mediaLiveConnectorPipeline: aws.sdk.kotlin.services.chimesdkmediapipelines.model.MediaLiveConnectorPipeline? = builder.mediaLiveConnectorPipeline
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmediapipelines.model.CreateMediaLiveConnectorPipelineResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("CreateMediaLiveConnectorPipelineResponse(")
append("mediaLiveConnectorPipeline=$mediaLiveConnectorPipeline")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = mediaLiveConnectorPipeline?.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 CreateMediaLiveConnectorPipelineResponse
if (mediaLiveConnectorPipeline != other.mediaLiveConnectorPipeline) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmediapipelines.model.CreateMediaLiveConnectorPipelineResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The new media live connector pipeline.
*/
public var mediaLiveConnectorPipeline: aws.sdk.kotlin.services.chimesdkmediapipelines.model.MediaLiveConnectorPipeline? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmediapipelines.model.CreateMediaLiveConnectorPipelineResponse) : this() {
this.mediaLiveConnectorPipeline = x.mediaLiveConnectorPipeline
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmediapipelines.model.CreateMediaLiveConnectorPipelineResponse = CreateMediaLiveConnectorPipelineResponse(this)
/**
* construct an [aws.sdk.kotlin.services.chimesdkmediapipelines.model.MediaLiveConnectorPipeline] inside the given [block]
*/
public fun mediaLiveConnectorPipeline(block: aws.sdk.kotlin.services.chimesdkmediapipelines.model.MediaLiveConnectorPipeline.Builder.() -> kotlin.Unit) {
this.mediaLiveConnectorPipeline = aws.sdk.kotlin.services.chimesdkmediapipelines.model.MediaLiveConnectorPipeline.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}