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.Builder
generativeAISettings
(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.FallbackIntent
andAMAZON.KendraSearchIntent
intents 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.Builder
voiceSettings
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
DRAFT
version.- Parameters:
botVersion
- The version of the bot that contains the locale to be updated. The version can only be theDRAFT
version.- 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.FallbackIntent
andAMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.- Parameters:
nluIntentConfidenceThreshold
- The new confidence threshold where Amazon Lex inserts theAMAZON.FallbackIntent
andAMAZON.KendraSearchIntent
intents 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.Builder
avoiding the need to create one manually viaVoiceSettings.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaGenerativeAISettings.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-