Interface UpdateBotLocaleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateBotLocaleRequest.Builder,,UpdateBotLocaleRequest> LexModelsV2Request.Builder,SdkBuilder<UpdateBotLocaleRequest.Builder,,UpdateBotLocaleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateBotLocaleRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot that contains the locale.botVersion(String botVersion) The version of the bot that contains the locale to be updated.description(String description) The new description of the locale.default UpdateBotLocaleRequest.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.The identifier of the language and locale to update.nluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) The new confidence threshold where Amazon Lex inserts theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateBotLocaleRequest.BuildervoiceSettings(Consumer<VoiceSettings.Builder> voiceSettings) The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.voiceSettings(VoiceSettings voiceSettings) The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
botId
The unique identifier of the bot that contains the locale.
- Parameters:
botId- The unique identifier of the bot that contains the 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 locale to be updated. The version can only be the
DRAFTversion.- Parameters:
botVersion- The version of the bot that contains the locale to be updated. The version can only be theDRAFTversion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.
- Parameters:
localeId- The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description of the locale.
- Parameters:
description- The new description of the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nluIntentConfidenceThreshold
The new confidence threshold where Amazon Lex inserts the
AMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.- Parameters:
nluIntentConfidenceThreshold- The new confidence threshold where Amazon Lex inserts 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 new Amazon Polly voice Amazon Lex should use for voice interaction with the user.
- Parameters:
voiceSettings- The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceSettings
The new Amazon Polly voice Amazon Lex should 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:
-
generativeAISettings
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.
- Parameters:
generativeAISettings- Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeAISettings
default UpdateBotLocaleRequest.Builder generativeAISettings(Consumer<GenerativeAISettings.Builder> generativeAISettings) Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.
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:
-
overrideConfiguration
UpdateBotLocaleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateBotLocaleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-