Interface UpdateBotLocaleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateBotLocaleResponse.Builder,,UpdateBotLocaleResponse> LexModelsV2Response.Builder,SdkBuilder<UpdateBotLocaleResponse.Builder,,UpdateBotLocaleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateBotLocaleResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot that contains the updated locale.botLocaleStatus(String botLocaleStatus) The current status of the locale.botLocaleStatus(BotLocaleStatus botLocaleStatus) The current status of the locale.botVersion(String botVersion) The version of the bot that contains the updated locale.creationDateTime(Instant creationDateTime) A timestamp of the date and time that the locale was created.description(String description) The updated description of the locale.failureReasons(String... failureReasons) If thebotLocaleStatusisFailed, thefailureReasonsfield lists the errors that occurred while building the bot.failureReasons(Collection<String> failureReasons) If thebotLocaleStatusisFailed, thefailureReasonsfield lists the errors that occurred while building the bot.default UpdateBotLocaleResponse.BuildergenerativeAISettings(Consumer<GenerativeAISettings.Builder> generativeAISettings) Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.generativeAISettings(GenerativeAISettings generativeAISettings) Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.lastUpdatedDateTime(Instant lastUpdatedDateTime) A timestamp of the date and time that the locale was last updated.The language and locale of the updated bot locale.localeName(String localeName) The updated locale name for the locale.nluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) The updated confidence threshold for inserting theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.recommendedActions(String... recommendedActions) Recommended actions to take to resolve an error in thefailureReasonsfield.recommendedActions(Collection<String> recommendedActions) Recommended actions to take to resolve an error in thefailureReasonsfield.default UpdateBotLocaleResponse.BuildervoiceSettings(Consumer<VoiceSettings.Builder> voiceSettings) The updated Amazon Polly voice to use for voice interaction with the user.voiceSettings(VoiceSettings voiceSettings) The updated Amazon Polly voice to use for voice interaction with the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
botId
The identifier of the bot that contains the updated locale.
- Parameters:
botId- The identifier of the bot that contains the updated locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot that contains the updated locale.
- Parameters:
botVersion- The version of the bot that contains the updated locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The language and locale of the updated bot locale.
- Parameters:
localeId- The language and locale of the updated bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeName
The updated locale name for the locale.
- Parameters:
localeName- The updated locale name for the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the locale.
- Parameters:
description- The updated description of the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nluIntentConfidenceThreshold
The updated confidence threshold for inserting the
AMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.- Parameters:
nluIntentConfidenceThreshold- The updated confidence threshold for inserting theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceSettings
The updated Amazon Polly voice to use for voice interaction with the user.
- Parameters:
voiceSettings- The updated Amazon Polly voice to use for voice interaction with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceSettings
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 method that creates an instance of theVoiceSettings.Builderavoiding the need to create one manually viaVoiceSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoiceSettings(VoiceSettings).- Parameters:
voiceSettings- a consumer that will call methods onVoiceSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botLocaleStatus
The current status of the locale. When the bot status is
Builtthe locale is ready for use.- Parameters:
botLocaleStatus- The current status of the locale. When the bot status isBuiltthe locale is ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botLocaleStatus
The current status of the locale. When the bot status is
Builtthe locale is ready for use.- Parameters:
botLocaleStatus- The current status of the locale. When the bot status isBuiltthe locale is ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReasons
If the
botLocaleStatusisFailed, thefailureReasonsfield lists the errors that occurred while building the bot.- Parameters:
failureReasons- If thebotLocaleStatusisFailed, thefailureReasonsfield lists the errors that occurred while building the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
If the
botLocaleStatusisFailed, thefailureReasonsfield lists the errors that occurred while building the bot.- Parameters:
failureReasons- If thebotLocaleStatusisFailed, thefailureReasonsfield lists the errors that occurred while building the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
A timestamp of the date and time that the locale was created.
- Parameters:
creationDateTime- A timestamp of the date and time that the locale was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
A timestamp of the date and time that the locale was last updated.
- Parameters:
lastUpdatedDateTime- A timestamp of the date and time that the locale was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
Recommended actions to take to resolve an error in the
failureReasonsfield.- Parameters:
recommendedActions- Recommended actions to take to resolve an error in thefailureReasonsfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
Recommended actions to take to resolve an error in the
failureReasonsfield.- Parameters:
recommendedActions- Recommended actions to take to resolve an error in thefailureReasonsfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeAISettings
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
- Parameters:
generativeAISettings- Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeAISettings
default UpdateBotLocaleResponse.Builder generativeAISettings(Consumer<GenerativeAISettings.Builder> generativeAISettings) Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
This is a convenience method that creates an instance of theGenerativeAISettings.Builderavoiding the need to create one manually viaGenerativeAISettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togenerativeAISettings(GenerativeAISettings).- Parameters:
generativeAISettings- a consumer that will call methods onGenerativeAISettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-