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