@Stability(value=Stable) public static final class CfnBot.BotLocaleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.BotLocaleProperty>
CfnBot.BotLocaleProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder localeId(String localeId)
CfnBot.BotLocaleProperty.getLocaleId()localeId - The identifier of the language and locale that the bot will be used in. This parameter is required.
The string must match one of the supported locales.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder nluConfidenceThreshold(Number nluConfidenceThreshold)
CfnBot.BotLocaleProperty.getNluConfidenceThreshold()nluConfidenceThreshold - Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents. You must configure an AMAZON.FallbackIntent. AMAZON.KendraSearchIntent is only inserted if it is configured for the bot. This parameter is required.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder customVocabulary(CfnBot.CustomVocabularyProperty customVocabulary)
CfnBot.BotLocaleProperty.getCustomVocabulary()customVocabulary - Specifies a custom vocabulary to use with a specific locale.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder customVocabulary(IResolvable customVocabulary)
CfnBot.BotLocaleProperty.getCustomVocabulary()customVocabulary - Specifies a custom vocabulary to use with a specific locale.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder description(String description)
CfnBot.BotLocaleProperty.getDescription()description - A description of the bot locale.
Use this to help identify the bot locale in lists.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder intents(IResolvable intents)
CfnBot.BotLocaleProperty.getIntents()intents - One or more intents defined for the locale.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder intents(List<? extends Object> intents)
CfnBot.BotLocaleProperty.getIntents()intents - One or more intents defined for the locale.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder slotTypes(IResolvable slotTypes)
CfnBot.BotLocaleProperty.getSlotTypes()slotTypes - One or more slot types defined for the locale.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder slotTypes(List<? extends Object> slotTypes)
CfnBot.BotLocaleProperty.getSlotTypes()slotTypes - One or more slot types defined for the locale.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder voiceSettings(CfnBot.VoiceSettingsProperty voiceSettings)
CfnBot.BotLocaleProperty.getVoiceSettings()voiceSettings - Identifies the Amazon Polly voice used for audio interaction with the user.this@Stability(value=Stable) public CfnBot.BotLocaleProperty.Builder voiceSettings(IResolvable voiceSettings)
CfnBot.BotLocaleProperty.getVoiceSettings()voiceSettings - Identifies the Amazon Polly voice used for audio interaction with the user.this@Stability(value=Stable) public CfnBot.BotLocaleProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.BotLocaleProperty>CfnBot.BotLocalePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.