public static interface UpdateBotLocaleResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateBotLocaleResponse.Builder,UpdateBotLocaleResponse>
| Modifier and Type | Method and Description |
|---|---|
UpdateBotLocaleResponse.Builder |
botId(String botId)
The identifier of the bot that contains the updated locale.
|
UpdateBotLocaleResponse.Builder |
botLocaleStatus(BotLocaleStatus botLocaleStatus)
The current status of the locale.
|
UpdateBotLocaleResponse.Builder |
botLocaleStatus(String botLocaleStatus)
The current status of the locale.
|
UpdateBotLocaleResponse.Builder |
botVersion(String botVersion)
The version of the bot that contains the updated locale.
|
UpdateBotLocaleResponse.Builder |
creationDateTime(Instant creationDateTime)
A timestamp of the date and time that the locale was created.
|
UpdateBotLocaleResponse.Builder |
description(String description)
The updated description of the locale.
|
UpdateBotLocaleResponse.Builder |
failureReasons(Collection<String> failureReasons)
If the
botLocaleStatus is Failed, the failureReasons field lists the
errors that occurred while building the bot. |
UpdateBotLocaleResponse.Builder |
failureReasons(String... failureReasons)
If the
botLocaleStatus is Failed, the failureReasons field lists the
errors that occurred while building the bot. |
UpdateBotLocaleResponse.Builder |
lastUpdatedDateTime(Instant lastUpdatedDateTime)
A timestamp of the date and time that the locale was last updated.
|
UpdateBotLocaleResponse.Builder |
localeId(String localeId)
The language and locale of the updated bot locale.
|
UpdateBotLocaleResponse.Builder |
localeName(String localeName)
The updated locale name for the locale.
|
UpdateBotLocaleResponse.Builder |
nluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The updated confidence threshold for inserting the
AMAZON.FallbackIntent and
AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. |
UpdateBotLocaleResponse.Builder |
recommendedActions(Collection<String> recommendedActions)
Recommended actions to take to resolve an error in the
failureReasons field. |
UpdateBotLocaleResponse.Builder |
recommendedActions(String... recommendedActions)
Recommended actions to take to resolve an error in the
failureReasons field. |
default UpdateBotLocaleResponse.Builder |
voiceSettings(Consumer<VoiceSettings.Builder> voiceSettings)
The updated Amazon Polly voice to use for voice interaction with the user.
|
UpdateBotLocaleResponse.Builder |
voiceSettings(VoiceSettings voiceSettings)
The updated Amazon Polly voice to use for voice interaction with the user.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateBotLocaleResponse.Builder botId(String botId)
The identifier of the bot that contains the updated locale.
botId - The identifier of the bot that contains the updated locale.UpdateBotLocaleResponse.Builder botVersion(String botVersion)
The version of the bot that contains the updated locale.
botVersion - The version of the bot that contains the updated locale.UpdateBotLocaleResponse.Builder localeId(String localeId)
The language and locale of the updated bot locale.
localeId - The language and locale of the updated bot locale.UpdateBotLocaleResponse.Builder localeName(String localeName)
The updated locale name for the locale.
localeName - The updated locale name for the locale.UpdateBotLocaleResponse.Builder description(String description)
The updated description of the locale.
description - The updated description of the locale.UpdateBotLocaleResponse.Builder nluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The updated confidence threshold for inserting the AMAZON.FallbackIntent and
AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
nluIntentConfidenceThreshold - The updated confidence threshold for inserting the AMAZON.FallbackIntent and
AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.UpdateBotLocaleResponse.Builder voiceSettings(VoiceSettings voiceSettings)
The updated Amazon Polly voice to use for voice interaction with the user.
voiceSettings - The updated Amazon Polly voice to use for voice interaction with the user.default UpdateBotLocaleResponse.Builder voiceSettings(Consumer<VoiceSettings.Builder> voiceSettings)
The updated Amazon Polly voice to use for voice interaction with the user.
This is a convenience that creates an instance of theVoiceSettings.Builder avoiding the need to
create one manually via VoiceSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to voiceSettings(VoiceSettings).voiceSettings - a consumer that will call methods on VoiceSettings.BuildervoiceSettings(VoiceSettings)UpdateBotLocaleResponse.Builder botLocaleStatus(String botLocaleStatus)
The current status of the locale. When the bot status is Built the locale is ready for use.
botLocaleStatus - The current status of the locale. When the bot status is Built the locale is ready for
use.BotLocaleStatus,
BotLocaleStatusUpdateBotLocaleResponse.Builder botLocaleStatus(BotLocaleStatus botLocaleStatus)
The current status of the locale. When the bot status is Built the locale is ready for use.
botLocaleStatus - The current status of the locale. When the bot status is Built the locale is ready for
use.BotLocaleStatus,
BotLocaleStatusUpdateBotLocaleResponse.Builder failureReasons(Collection<String> failureReasons)
If the botLocaleStatus is Failed, the failureReasons field lists the
errors that occurred while building the bot.
failureReasons - If the botLocaleStatus is Failed, the failureReasons field
lists the errors that occurred while building the bot.UpdateBotLocaleResponse.Builder failureReasons(String... failureReasons)
If the botLocaleStatus is Failed, the failureReasons field lists the
errors that occurred while building the bot.
failureReasons - If the botLocaleStatus is Failed, the failureReasons field
lists the errors that occurred while building the bot.UpdateBotLocaleResponse.Builder creationDateTime(Instant creationDateTime)
A timestamp of the date and time that the locale was created.
creationDateTime - A timestamp of the date and time that the locale was created.UpdateBotLocaleResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
A timestamp of the date and time that the locale was last updated.
lastUpdatedDateTime - A timestamp of the date and time that the locale was last updated.UpdateBotLocaleResponse.Builder recommendedActions(Collection<String> recommendedActions)
Recommended actions to take to resolve an error in the failureReasons field.
recommendedActions - Recommended actions to take to resolve an error in the failureReasons field.UpdateBotLocaleResponse.Builder recommendedActions(String... recommendedActions)
Recommended actions to take to resolve an error in the failureReasons field.
recommendedActions - Recommended actions to take to resolve an error in the failureReasons field.Copyright © 2022. All rights reserved.