Interface UpdateBotLocaleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateBotLocaleResponse.Builder,UpdateBotLocaleResponse>,LexModelsV2Response.Builder,SdkBuilder<UpdateBotLocaleResponse.Builder,UpdateBotLocaleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateBotLocaleResponse
public static interface UpdateBotLocaleResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateBotLocaleResponse.Builder,UpdateBotLocaleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateBotLocaleResponse.BuilderbotId(String botId)The identifier of the bot that contains the updated locale.UpdateBotLocaleResponse.BuilderbotLocaleStatus(String botLocaleStatus)The current status of the locale.UpdateBotLocaleResponse.BuilderbotLocaleStatus(BotLocaleStatus botLocaleStatus)The current status of the locale.UpdateBotLocaleResponse.BuilderbotVersion(String botVersion)The version of the bot that contains the updated locale.UpdateBotLocaleResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the locale was created.UpdateBotLocaleResponse.Builderdescription(String description)The updated description of the locale.UpdateBotLocaleResponse.BuilderfailureReasons(String... failureReasons)If thebotLocaleStatusisFailed, thefailureReasonsfield lists the errors that occurred while building the bot.UpdateBotLocaleResponse.BuilderfailureReasons(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.UpdateBotLocaleResponse.BuildergenerativeAISettings(GenerativeAISettings generativeAISettings)Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.UpdateBotLocaleResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)A timestamp of the date and time that the locale was last updated.UpdateBotLocaleResponse.BuilderlocaleId(String localeId)The language and locale of the updated bot locale.UpdateBotLocaleResponse.BuilderlocaleName(String localeName)The updated locale name for the locale.UpdateBotLocaleResponse.BuildernluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)The updated confidence threshold for inserting theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.UpdateBotLocaleResponse.BuilderrecommendedActions(String... recommendedActions)Recommended actions to take to resolve an error in thefailureReasonsfield.UpdateBotLocaleResponse.BuilderrecommendedActions(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.UpdateBotLocaleResponse.BuildervoiceSettings(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
botId
UpdateBotLocaleResponse.Builder botId(String 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
UpdateBotLocaleResponse.Builder botVersion(String 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
UpdateBotLocaleResponse.Builder localeId(String 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
UpdateBotLocaleResponse.Builder localeName(String 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
UpdateBotLocaleResponse.Builder description(String 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
UpdateBotLocaleResponse.Builder nluIntentConfidenceThreshold(Double 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
UpdateBotLocaleResponse.Builder voiceSettings(VoiceSettings 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:
voiceSettings(VoiceSettings)
-
botLocaleStatus
UpdateBotLocaleResponse.Builder botLocaleStatus(String 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,BotLocaleStatus
-
botLocaleStatus
UpdateBotLocaleResponse.Builder botLocaleStatus(BotLocaleStatus 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,BotLocaleStatus
-
failureReasons
UpdateBotLocaleResponse.Builder failureReasons(Collection<String> 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
UpdateBotLocaleResponse.Builder failureReasons(String... 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
UpdateBotLocaleResponse.Builder creationDateTime(Instant 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
UpdateBotLocaleResponse.Builder lastUpdatedDateTime(Instant 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
UpdateBotLocaleResponse.Builder recommendedActions(Collection<String> 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
UpdateBotLocaleResponse.Builder recommendedActions(String... 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
UpdateBotLocaleResponse.Builder generativeAISettings(GenerativeAISettings 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:
generativeAISettings(GenerativeAISettings)
-
-