Interface CreateBotLocaleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateBotLocaleResponse.Builder,CreateBotLocaleResponse>,LexModelsV2Response.Builder,SdkBuilder<CreateBotLocaleResponse.Builder,CreateBotLocaleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateBotLocaleResponse
public static interface CreateBotLocaleResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<CreateBotLocaleResponse.Builder,CreateBotLocaleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBotLocaleResponse.BuilderbotId(String botId)The specified bot identifier.CreateBotLocaleResponse.BuilderbotLocaleStatus(String botLocaleStatus)The status of the bot.CreateBotLocaleResponse.BuilderbotLocaleStatus(BotLocaleStatus botLocaleStatus)The status of the bot.CreateBotLocaleResponse.BuilderbotVersion(String botVersion)The specified bot version.CreateBotLocaleResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp specifying the date and time that the bot locale was created.CreateBotLocaleResponse.Builderdescription(String description)The specified description of the bot locale.default CreateBotLocaleResponse.BuildergenerativeAISettings(Consumer<GenerativeAISettings.Builder> generativeAISettings)Sets the value of the GenerativeAISettings property for this object.CreateBotLocaleResponse.BuildergenerativeAISettings(GenerativeAISettings generativeAISettings)Sets the value of the GenerativeAISettings property for this object.CreateBotLocaleResponse.BuilderlocaleId(String localeId)The specified locale identifier.CreateBotLocaleResponse.BuilderlocaleName(String localeName)The specified locale name.CreateBotLocaleResponse.BuildernluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)The specified confidence threshold for inserting theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents.default CreateBotLocaleResponse.BuildervoiceSettings(Consumer<VoiceSettings.Builder> voiceSettings)The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.CreateBotLocaleResponse.BuildervoiceSettings(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 Detail
-
botId
CreateBotLocaleResponse.Builder botId(String 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
CreateBotLocaleResponse.Builder botVersion(String 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
CreateBotLocaleResponse.Builder localeName(String 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
CreateBotLocaleResponse.Builder localeId(String 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
CreateBotLocaleResponse.Builder description(String 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
CreateBotLocaleResponse.Builder nluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The specified confidence threshold for inserting the
AMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents.- Parameters:
nluIntentConfidenceThreshold- The specified confidence threshold for inserting theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceSettings
CreateBotLocaleResponse.Builder voiceSettings(VoiceSettings 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.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)
-
botLocaleStatus
CreateBotLocaleResponse.Builder botLocaleStatus(String botLocaleStatus)
The status of the bot.
When the status is
Creatingthe bot locale is being configured. When the status isBuildingAmazon 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
Creatingthe bot locale is being configured. When the status isBuildingAmazon 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,BotLocaleStatus
-
botLocaleStatus
CreateBotLocaleResponse.Builder botLocaleStatus(BotLocaleStatus botLocaleStatus)
The status of the bot.
When the status is
Creatingthe bot locale is being configured. When the status isBuildingAmazon 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
Creatingthe bot locale is being configured. When the status isBuildingAmazon 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,BotLocaleStatus
-
creationDateTime
CreateBotLocaleResponse.Builder creationDateTime(Instant 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
CreateBotLocaleResponse.Builder generativeAISettings(GenerativeAISettings 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.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:
generativeAISettings(GenerativeAISettings)
-
-