@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBotLocaleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateBotLocaleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBotLocaleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot to create the locale for.
|
String |
getBotVersion()
The version of the bot to create the locale for.
|
String |
getDescription()
A description of the bot locale.
|
String |
getLocaleId()
The identifier of the language and locale that the bot will be used in.
|
Double |
getNluIntentConfidenceThreshold()
Determines the threshold where Amazon Lex will insert the
AMAZON.FallbackIntent ,
AMAZON.KendraSearchIntent , or both when returning alternative intents. |
VoiceSettings |
getVoiceSettings()
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot to create the locale for.
|
void |
setBotVersion(String botVersion)
The version of the bot to create the locale for.
|
void |
setDescription(String description)
A description of the bot locale.
|
void |
setLocaleId(String localeId)
The identifier of the language and locale that the bot will be used in.
|
void |
setNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
Determines the threshold where Amazon Lex will insert the
AMAZON.FallbackIntent ,
AMAZON.KendraSearchIntent , or both when returning alternative intents. |
void |
setVoiceSettings(VoiceSettings voiceSettings)
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
|
String |
toString()
Returns a string representation of this object.
|
CreateBotLocaleRequest |
withBotId(String botId)
The identifier of the bot to create the locale for.
|
CreateBotLocaleRequest |
withBotVersion(String botVersion)
The version of the bot to create the locale for.
|
CreateBotLocaleRequest |
withDescription(String description)
A description of the bot locale.
|
CreateBotLocaleRequest |
withLocaleId(String localeId)
The identifier of the language and locale that the bot will be used in.
|
CreateBotLocaleRequest |
withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
Determines the threshold where Amazon Lex will insert the
AMAZON.FallbackIntent ,
AMAZON.KendraSearchIntent , or both when returning alternative intents. |
CreateBotLocaleRequest |
withVoiceSettings(VoiceSettings voiceSettings)
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBotId(String botId)
The identifier of the bot to create the locale for.
botId
- The identifier of the bot to create the locale for.public String getBotId()
The identifier of the bot to create the locale for.
public CreateBotLocaleRequest withBotId(String botId)
The identifier of the bot to create the locale for.
botId
- The identifier of the bot to create the locale for.public void setBotVersion(String botVersion)
The version of the bot to create the locale for. This can only be the draft version of the bot.
botVersion
- The version of the bot to create the locale for. This can only be the draft version of the bot.public String getBotVersion()
The version of the bot to create the locale for. This can only be the draft version of the bot.
public CreateBotLocaleRequest withBotVersion(String botVersion)
The version of the bot to create the locale for. This can only be the draft version of the bot.
botVersion
- The version of the bot to create the locale for. This can only be the draft version of the bot.public void setLocaleId(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.
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 String getLocaleId()
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 CreateBotLocaleRequest withLocaleId(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.
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 void setDescription(String description)
A description of the bot locale. Use this to help identify the bot locale in lists.
description
- A description of the bot locale. Use this to help identify the bot locale in lists.public String getDescription()
A description of the bot locale. Use this to help identify the bot locale in lists.
public CreateBotLocaleRequest withDescription(String description)
A description of the bot locale. Use this to help identify the bot locale in lists.
description
- A description of the bot locale. Use this to help identify the bot locale in lists.public void setNluIntentConfidenceThreshold(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
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
public Double getNluIntentConfidenceThreshold()
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 CreateBotLocaleRequest withNluIntentConfidenceThreshold(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
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
public void setVoiceSettings(VoiceSettings voiceSettings)
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
voiceSettings
- The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.public VoiceSettings getVoiceSettings()
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
public CreateBotLocaleRequest withVoiceSettings(VoiceSettings voiceSettings)
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
voiceSettings
- The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.public String toString()
toString
in class Object
Object.toString()
public CreateBotLocaleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()