@Generated(value="software.amazon.awssdk:codegen") public final class BotLocaleImportSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BotLocaleImportSpecification.Builder,BotLocaleImportSpecification>
Provides the bot locale parameters required for importing a bot locale.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BotLocaleImportSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot to import the locale to.
|
String |
botVersion()
The version of the bot to import the locale to.
|
static BotLocaleImportSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
localeId()
The identifier of the language and locale that the bot will be used in.
|
Double |
nluIntentConfidenceThreshold()
Determines the threshold where Amazon Lex will insert the
AMAZON.FallbackIntent,
AMAZON.KendraSearchIntent, or both when returning alternative intents. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BotLocaleImportSpecification.Builder> |
serializableBuilderClass() |
BotLocaleImportSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VoiceSettings |
voiceSettings()
Returns the value of the VoiceSettings property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The identifier of the bot to import the locale to.
public final String botVersion()
The version of the bot to import the locale to. This can only be the DRAFT version of the bot.
DRAFT version of the
bot.public final String localeId()
The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.
public final Double nluIntentConfidenceThreshold()
Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent,
AMAZON.KendraSearchIntent, or both when returning alternative intents.
AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are
configured for the bot.
For example, suppose a bot is configured with the confidence threshold of 0.80 and the
AMAZON.FallbackIntent. Amazon Lex returns three alternative intents with the following confidence
scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the PostText operation
would be:
AMAZON.FallbackIntent
IntentA
IntentB
IntentC
AMAZON.FallbackIntent,
AMAZON.KendraSearchIntent, or both when returning alternative intents.
AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they
are configured for the bot.
For example, suppose a bot is configured with the confidence threshold of 0.80 and the
AMAZON.FallbackIntent. Amazon Lex returns three alternative intents with the following
confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the
PostText operation would be:
AMAZON.FallbackIntent
IntentA
IntentB
IntentC
public final VoiceSettings voiceSettings()
public BotLocaleImportSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BotLocaleImportSpecification.Builder,BotLocaleImportSpecification>public static BotLocaleImportSpecification.Builder builder()
public static Class<? extends BotLocaleImportSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.