Interface CfnBot.BotLocaleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.BotLocaleProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.BotLocaleProperty
extends software.amazon.jsii.JsiiSerializable
Provides configuration information for a locale.
Example:
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.BotLocalePropertystatic final classAn implementation forCfnBot.BotLocaleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies a custom vocabulary to use with a specific locale.default StringA description of the bot locale.default ObjectOne or more intents defined for the locale.The identifier of the language and locale that the bot will be used in.Determines the threshold where Amazon Lex will insert theAMAZON.FallbackIntent,AMAZON.KendraSearchIntent, or both when returning alternative intents.default ObjectOne or more slot types defined for the locale.default ObjectDefines settings for using an Amazon Polly voice to communicate with a user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLocaleId
The identifier of the language and locale that the bot will be used in.The string must match one of the supported locales.
- See Also:
-
getNluConfidenceThreshold
Determines the threshold where Amazon Lex will insert theAMAZON.FallbackIntent,AMAZON.KendraSearchIntent, or both when returning alternative intents. You must configure anAMAZON.FallbackIntent.AMAZON.KendraSearchIntentis only inserted if it is configured for the bot.- See Also:
-
getCustomVocabulary
Specifies a custom vocabulary to use with a specific locale.- See Also:
-
getDescription
A description of the bot locale.Use this to help identify the bot locale in lists.
- See Also:
-
getIntents
One or more intents defined for the locale.- See Also:
-
getSlotTypes
One or more slot types defined for the locale.- See Also:
-
getVoiceSettings
Defines settings for using an Amazon Polly voice to communicate with a user.Valid values include:
standardneurallong-formgenerative
- See Also:
-
builder
- Returns:
- a
CfnBot.BotLocaleProperty.BuilderofCfnBot.BotLocaleProperty
-