Interface CreateBotLocaleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateBotLocaleResponse.Builder,
,CreateBotLocaleResponse> LexModelsV2Response.Builder
,SdkBuilder<CreateBotLocaleResponse.Builder,
,CreateBotLocaleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateBotLocaleResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe specified bot identifier.botLocaleStatus
(String botLocaleStatus) The status of the bot.botLocaleStatus
(BotLocaleStatus botLocaleStatus) The status of the bot.botVersion
(String botVersion) The specified bot version.creationDateTime
(Instant creationDateTime) A timestamp specifying the date and time that the bot locale was created.description
(String description) The specified description of the bot locale.default CreateBotLocaleResponse.Builder
generativeAISettings
(Consumer<GenerativeAISettings.Builder> generativeAISettings) Sets the value of the GenerativeAISettings property for this object.generativeAISettings
(GenerativeAISettings generativeAISettings) Sets the value of the GenerativeAISettings property for this object.The specified locale identifier.localeName
(String localeName) The specified locale name.nluIntentConfidenceThreshold
(Double nluIntentConfidenceThreshold) The specified confidence threshold for inserting theAMAZON.FallbackIntent
andAMAZON.KendraSearchIntent
intents.default CreateBotLocaleResponse.Builder
voiceSettings
(Consumer<VoiceSettings.Builder> voiceSettings) The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.voiceSettings
(VoiceSettings voiceSettings) The Amazon Polly voice ID that Amazon Lex uses 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 specified bot identifier.
- Parameters:
botId
- The specified bot identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The specified bot version.
- Parameters:
botVersion
- The specified bot version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeName
The specified locale name.
- Parameters:
localeName
- The specified locale name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The specified locale identifier.
- Parameters:
localeId
- The specified locale identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The specified description of the bot locale.
- Parameters:
description
- The specified description of the bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nluIntentConfidenceThreshold
The specified confidence threshold for inserting the
AMAZON.FallbackIntent
andAMAZON.KendraSearchIntent
intents.- Parameters:
nluIntentConfidenceThreshold
- The specified confidence threshold for inserting theAMAZON.FallbackIntent
andAMAZON.KendraSearchIntent
intents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceSettings
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
- Parameters:
voiceSettings
- The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceSettings
default CreateBotLocaleResponse.Builder voiceSettings(Consumer<VoiceSettings.Builder> voiceSettings) The Amazon Polly voice ID that Amazon Lex uses 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 status of the bot.
When the status is
Creating
the bot locale is being configured. When the status isBuilding
Amazon Lex is building the bot for testing and use.If the status of the bot is
ReadyExpressTesting
, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status isBuilt
.If there was a problem with building the bot, the status is
Failed
. If the bot was saved but not built, the status isNotBuilt
.- Parameters:
botLocaleStatus
- The status of the bot.When the status is
Creating
the bot locale is being configured. When the status isBuilding
Amazon Lex is building the bot for testing and use.If the status of the bot is
ReadyExpressTesting
, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status isBuilt
.If there was a problem with building the bot, the status is
Failed
. If the bot was saved but not built, the status isNotBuilt
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botLocaleStatus
The status of the bot.
When the status is
Creating
the bot locale is being configured. When the status isBuilding
Amazon Lex is building the bot for testing and use.If the status of the bot is
ReadyExpressTesting
, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status isBuilt
.If there was a problem with building the bot, the status is
Failed
. If the bot was saved but not built, the status isNotBuilt
.- Parameters:
botLocaleStatus
- The status of the bot.When the status is
Creating
the bot locale is being configured. When the status isBuilding
Amazon Lex is building the bot for testing and use.If the status of the bot is
ReadyExpressTesting
, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status isBuilt
.If there was a problem with building the bot, the status is
Failed
. If the bot was saved but not built, the status isNotBuilt
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDateTime
A timestamp specifying the date and time that the bot locale was created.
- Parameters:
creationDateTime
- A timestamp specifying the date and time that the bot locale was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeAISettings
Sets the value of the GenerativeAISettings property for this object.- Parameters:
generativeAISettings
- The new value for the GenerativeAISettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeAISettings
default CreateBotLocaleResponse.Builder generativeAISettings(Consumer<GenerativeAISettings.Builder> generativeAISettings) Sets the value of the GenerativeAISettings property for this object. 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:
-