commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceAnalyticsProcessorConfiguration.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 settings for a voice analytics processor.
*/
public class VoiceAnalyticsProcessorConfiguration private constructor(builder: Builder) {
/**
* The status of the speaker search task.
*/
public val speakerSearchStatus: aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceAnalyticsConfigurationStatus? = builder.speakerSearchStatus
/**
* The status of the voice tone analysis task.
*/
public val voiceToneAnalysisStatus: aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceAnalyticsConfigurationStatus? = builder.voiceToneAnalysisStatus
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceAnalyticsProcessorConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("VoiceAnalyticsProcessorConfiguration(")
append("speakerSearchStatus=$speakerSearchStatus,")
append("voiceToneAnalysisStatus=$voiceToneAnalysisStatus")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = speakerSearchStatus?.hashCode() ?: 0
result = 31 * result + (voiceToneAnalysisStatus?.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 VoiceAnalyticsProcessorConfiguration
if (speakerSearchStatus != other.speakerSearchStatus) return false
if (voiceToneAnalysisStatus != other.voiceToneAnalysisStatus) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceAnalyticsProcessorConfiguration = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The status of the speaker search task.
*/
public var speakerSearchStatus: aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceAnalyticsConfigurationStatus? = null
/**
* The status of the voice tone analysis task.
*/
public var voiceToneAnalysisStatus: aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceAnalyticsConfigurationStatus? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceAnalyticsProcessorConfiguration) : this() {
this.speakerSearchStatus = x.speakerSearchStatus
this.voiceToneAnalysisStatus = x.voiceToneAnalysisStatus
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceAnalyticsProcessorConfiguration = VoiceAnalyticsProcessorConfiguration(this)
internal fun correctErrors(): Builder {
return this
}
}
}