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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.BotLocaleProperty
static final class
An implementation forCfnBot.BotLocaleProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies a custom vocabulary to use with a specific locale.default String
A description of the bot locale.default Object
One 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 Object
One or more slot types defined for the locale.default Object
Defines 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.KendraSearchIntent
is 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:
standard
neural
long-form
generative
- See Also:
-
builder
- Returns:
- a
CfnBot.BotLocaleProperty.Builder
ofCfnBot.BotLocaleProperty
-