Interface UpdateBotLocaleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateBotLocaleRequest.Builder,UpdateBotLocaleRequest>,LexModelsV2Request.Builder,SdkBuilder<UpdateBotLocaleRequest.Builder,UpdateBotLocaleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateBotLocaleRequest
public static interface UpdateBotLocaleRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<UpdateBotLocaleRequest.Builder,UpdateBotLocaleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateBotLocaleRequest.BuilderbotId(String botId)The unique identifier of the bot that contains the locale.UpdateBotLocaleRequest.BuilderbotVersion(String botVersion)The version of the bot that contains the locale to be updated.UpdateBotLocaleRequest.Builderdescription(String description)The new description of the locale.UpdateBotLocaleRequest.BuilderlocaleId(String localeId)The identifier of the language and locale to update.UpdateBotLocaleRequest.BuildernluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)The new confidence threshold where Amazon Lex inserts theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.UpdateBotLocaleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateBotLocaleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateBotLocaleRequest.BuildervoiceSettings(Consumer<VoiceSettings.Builder> voiceSettings)The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.UpdateBotLocaleRequest.BuildervoiceSettings(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 Detail
-
botId
UpdateBotLocaleRequest.Builder botId(String 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
UpdateBotLocaleRequest.Builder botVersion(String 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
UpdateBotLocaleRequest.Builder localeId(String 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
UpdateBotLocaleRequest.Builder description(String 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
UpdateBotLocaleRequest.Builder nluIntentConfidenceThreshold(Double 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
UpdateBotLocaleRequest.Builder voiceSettings(VoiceSettings 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
default UpdateBotLocaleRequest.Builder voiceSettings(Consumer<VoiceSettings.Builder> 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:
voiceSettings(VoiceSettings)
-
overrideConfiguration
UpdateBotLocaleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateBotLocaleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-