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

com.pulumi.awsnative.lex.kotlin.outputs.BotCustomVocabulary.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.lex.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 * A custom vocabulary is a list of specific phrases that you want Amazon Lex V2 to recognize in the audio input.
 * @property customVocabularyItems Specifies a list of words that you expect to be used during a conversation with your bot.
 */
public data class BotCustomVocabulary(
    public val customVocabularyItems: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotCustomVocabulary): BotCustomVocabulary = BotCustomVocabulary(
            customVocabularyItems = javaType.customVocabularyItems().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lex.kotlin.outputs.BotCustomVocabularyItem.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy