com.pulumi.awsnative.lex.kotlin.outputs.BotAdvancedRecognitionSetting.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lex.kotlin.outputs
import com.pulumi.awsnative.lex.kotlin.enums.BotAudioRecognitionStrategy
import kotlin.Suppress
/**
* Provides settings that enable advanced recognition settings for slot values.
* @property audioRecognitionStrategy Enables using the slot values as a custom vocabulary for recognizing user utterances.
*/
public data class BotAdvancedRecognitionSetting(
public val audioRecognitionStrategy: BotAudioRecognitionStrategy? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotAdvancedRecognitionSetting): BotAdvancedRecognitionSetting = BotAdvancedRecognitionSetting(
audioRecognitionStrategy = javaType.audioRecognitionStrategy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lex.kotlin.enums.BotAudioRecognitionStrategy.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}