@Generated(value="software.amazon.awssdk:codegen") public final class CreateBotLocaleRequest extends LexModelsV2Request implements ToCopyableBuilder<CreateBotLocaleRequest.Builder,CreateBotLocaleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBotLocaleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot to create the locale for.
|
String |
botVersion()
The version of the bot to create the locale for.
|
static CreateBotLocaleRequest.Builder |
builder() |
String |
description()
A description of the bot locale.
|
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 CreateBotLocaleRequest.Builder> |
serializableBuilderClass() |
CreateBotLocaleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VoiceSettings |
voiceSettings()
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The identifier of the bot to create the locale for.
public final String botVersion()
The version of the bot to create the locale for. This can only be the 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 String description()
A description of the bot locale. Use this to help identify the bot locale in lists.
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 RecognizeText
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
RecognizeText operation would be:
AMAZON.FallbackIntent
IntentA
IntentB
IntentC
public final VoiceSettings voiceSettings()
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
public CreateBotLocaleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateBotLocaleRequest.Builder,CreateBotLocaleRequest>toBuilder in class LexModelsV2Requestpublic static CreateBotLocaleRequest.Builder builder()
public static Class<? extends CreateBotLocaleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.