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.speechDetectionSensitivity(String speechDetectionSensitivity) The new sensitivity level for voice activity detection (VAD) in the bot locale.speechDetectionSensitivity(SpeechDetectionSensitivity speechDetectionSensitivity) The new sensitivity level for voice activity detection (VAD) in the bot locale.default UpdateBotLocaleRequest.BuilderspeechRecognitionSettings(Consumer<SpeechRecognitionSettings.Builder> speechRecognitionSettings) Updated speech-to-text settings to apply to the bot locale.speechRecognitionSettings(SpeechRecognitionSettings speechRecognitionSettings) Updated speech-to-text settings to apply to the bot locale.default UpdateBotLocaleRequest.BuilderunifiedSpeechSettings(Consumer<UnifiedSpeechSettings.Builder> unifiedSpeechSettings) Updated unified speech settings to apply to the bot locale.unifiedSpeechSettings(UnifiedSpeechSettings unifiedSpeechSettings) Updated unified speech settings to apply to the bot locale.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, sdkFieldNameToField, 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:
-
unifiedSpeechSettings
Updated unified speech settings to apply to the bot locale.
- Parameters:
unifiedSpeechSettings- Updated unified speech settings to apply to the bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unifiedSpeechSettings
default UpdateBotLocaleRequest.Builder unifiedSpeechSettings(Consumer<UnifiedSpeechSettings.Builder> unifiedSpeechSettings) Updated unified speech settings to apply to the bot locale.
This is a convenience method that creates an instance of theUnifiedSpeechSettings.Builderavoiding the need to create one manually viaUnifiedSpeechSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounifiedSpeechSettings(UnifiedSpeechSettings).- Parameters:
unifiedSpeechSettings- a consumer that will call methods onUnifiedSpeechSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
speechRecognitionSettings
UpdateBotLocaleRequest.Builder speechRecognitionSettings(SpeechRecognitionSettings speechRecognitionSettings) Updated speech-to-text settings to apply to the bot locale.
- Parameters:
speechRecognitionSettings- Updated speech-to-text settings to apply to the bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
speechRecognitionSettings
default UpdateBotLocaleRequest.Builder speechRecognitionSettings(Consumer<SpeechRecognitionSettings.Builder> speechRecognitionSettings) Updated speech-to-text settings to apply to the bot locale.
This is a convenience method that creates an instance of theSpeechRecognitionSettings.Builderavoiding the need to create one manually viaSpeechRecognitionSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospeechRecognitionSettings(SpeechRecognitionSettings).- Parameters:
speechRecognitionSettings- a consumer that will call methods onSpeechRecognitionSettings.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:
-
speechDetectionSensitivity
The new sensitivity level for voice activity detection (VAD) in the bot locale. This setting helps optimize speech recognition accuracy by adjusting how the system responds to background noise during voice interactions.
- Parameters:
speechDetectionSensitivity- The new sensitivity level for voice activity detection (VAD) in the bot locale. This setting helps optimize speech recognition accuracy by adjusting how the system responds to background noise during voice interactions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
speechDetectionSensitivity
UpdateBotLocaleRequest.Builder speechDetectionSensitivity(SpeechDetectionSensitivity speechDetectionSensitivity) The new sensitivity level for voice activity detection (VAD) in the bot locale. This setting helps optimize speech recognition accuracy by adjusting how the system responds to background noise during voice interactions.
- Parameters:
speechDetectionSensitivity- The new sensitivity level for voice activity detection (VAD) in the bot locale. This setting helps optimize speech recognition accuracy by adjusting how the system responds to background noise during voice interactions.- 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.
-