All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.diagflow.kotlin.inputs.CxAgentSpeechToTextSettingsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.diagflow.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.diagflow.inputs.CxAgentSpeechToTextSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enableSpeechAdaptation Whether to use speech adaptation for speech recognition.
 */
public data class CxAgentSpeechToTextSettingsArgs(
    public val enableSpeechAdaptation: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxAgentSpeechToTextSettingsArgs =
        com.pulumi.gcp.diagflow.inputs.CxAgentSpeechToTextSettingsArgs.builder()
            .enableSpeechAdaptation(enableSpeechAdaptation?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CxAgentSpeechToTextSettingsArgs].
 */
@PulumiTagMarker
public class CxAgentSpeechToTextSettingsArgsBuilder internal constructor() {
    private var enableSpeechAdaptation: Output? = null

    /**
     * @param value Whether to use speech adaptation for speech recognition.
     */
    @JvmName("fwvpekawomrjrmus")
    public suspend fun enableSpeechAdaptation(`value`: Output) {
        this.enableSpeechAdaptation = value
    }

    /**
     * @param value Whether to use speech adaptation for speech recognition.
     */
    @JvmName("xsyjhagcbxrxfvsn")
    public suspend fun enableSpeechAdaptation(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableSpeechAdaptation = mapped
    }

    internal fun build(): CxAgentSpeechToTextSettingsArgs = CxAgentSpeechToTextSettingsArgs(
        enableSpeechAdaptation = enableSpeechAdaptation,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy