commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceEnhancementSinkConfiguration.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
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chimesdkmediapipelines.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* A static structure that contains the configuration data for a `VoiceEnhancementSinkConfiguration` element.
*/
public class VoiceEnhancementSinkConfiguration private constructor(builder: Builder) {
/**
* Disables the `VoiceEnhancementSinkConfiguration` element.
*/
public val disabled: kotlin.Boolean = builder.disabled
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceEnhancementSinkConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("VoiceEnhancementSinkConfiguration(")
append("disabled=$disabled")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = disabled.hashCode()
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 VoiceEnhancementSinkConfiguration
if (disabled != other.disabled) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceEnhancementSinkConfiguration = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Disables the `VoiceEnhancementSinkConfiguration` element.
*/
public var disabled: kotlin.Boolean = false
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceEnhancementSinkConfiguration) : this() {
this.disabled = x.disabled
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmediapipelines.model.VoiceEnhancementSinkConfiguration = VoiceEnhancementSinkConfiguration(this)
internal fun correctErrors(): Builder {
return this
}
}
}