Interface UpdateBotLocaleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateBotLocaleResponse.Builder,
,UpdateBotLocaleResponse> LexModelsV2Response.Builder
,SdkBuilder<UpdateBotLocaleResponse.Builder,
,UpdateBotLocaleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateBotLocaleResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot that contains the updated locale.botLocaleStatus
(String botLocaleStatus) The current status of the locale.botLocaleStatus
(BotLocaleStatus botLocaleStatus) The current status of the locale.botVersion
(String botVersion) The version of the bot that contains the updated locale.creationDateTime
(Instant creationDateTime) A timestamp of the date and time that the locale was created.description
(String description) The updated description of the locale.failureReasons
(String... failureReasons) If thebotLocaleStatus
isFailed
, thefailureReasons
field lists the errors that occurred while building the bot.failureReasons
(Collection<String> failureReasons) If thebotLocaleStatus
isFailed
, thefailureReasons
field lists the errors that occurred while building the bot.default UpdateBotLocaleResponse.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.lastUpdatedDateTime
(Instant lastUpdatedDateTime) A timestamp of the date and time that the locale was last updated.The language and locale of the updated bot locale.localeName
(String localeName) The updated locale name for the locale.nluIntentConfidenceThreshold
(Double nluIntentConfidenceThreshold) The updated confidence threshold for inserting theAMAZON.FallbackIntent
andAMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.recommendedActions
(String... recommendedActions) Recommended actions to take to resolve an error in thefailureReasons
field.recommendedActions
(Collection<String> recommendedActions) Recommended actions to take to resolve an error in thefailureReasons
field.default UpdateBotLocaleResponse.Builder
voiceSettings
(Consumer<VoiceSettings.Builder> voiceSettings) The updated Amazon Polly voice to use for voice interaction with the user.voiceSettings
(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 Details
-
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
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
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
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
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
The updated confidence threshold for inserting the
AMAZON.FallbackIntent
andAMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.- Parameters:
nluIntentConfidenceThreshold
- The updated confidence threshold for inserting 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 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.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:
-
botLocaleStatus
The current status of the locale. When the bot status is
Built
the locale is ready for use.- Parameters:
botLocaleStatus
- The current status of the locale. When the bot status isBuilt
the locale is ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botLocaleStatus
The current status of the locale. When the bot status is
Built
the locale is ready for use.- Parameters:
botLocaleStatus
- The current status of the locale. When the bot status isBuilt
the locale is ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReasons
If the
botLocaleStatus
isFailed
, thefailureReasons
field lists the errors that occurred while building the bot.- Parameters:
failureReasons
- If thebotLocaleStatus
isFailed
, thefailureReasons
field 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
If the
botLocaleStatus
isFailed
, thefailureReasons
field lists the errors that occurred while building the bot.- Parameters:
failureReasons
- If thebotLocaleStatus
isFailed
, thefailureReasons
field 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
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
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
Recommended actions to take to resolve an error in the
failureReasons
field.- Parameters:
recommendedActions
- Recommended actions to take to resolve an error in thefailureReasons
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
Recommended actions to take to resolve an error in the
failureReasons
field.- Parameters:
recommendedActions
- Recommended actions to take to resolve an error in thefailureReasons
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.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:
-