Interface DescribeBotLocaleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeBotLocaleResponse.Builder,DescribeBotLocaleResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeBotLocaleResponse.Builder,DescribeBotLocaleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeBotLocaleResponse
public static interface DescribeBotLocaleResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeBotLocaleResponse.Builder,DescribeBotLocaleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeBotLocaleResponse.BuilderbotId(String botId)The identifier of the bot associated with the locale.DescribeBotLocaleResponse.BuilderbotLocaleHistoryEvents(Collection<BotLocaleHistoryEvent> botLocaleHistoryEvents)History of changes, such as when a locale is used in an alias, that have taken place for the locale.DescribeBotLocaleResponse.BuilderbotLocaleHistoryEvents(Consumer<BotLocaleHistoryEvent.Builder>... botLocaleHistoryEvents)History of changes, such as when a locale is used in an alias, that have taken place for the locale.DescribeBotLocaleResponse.BuilderbotLocaleHistoryEvents(BotLocaleHistoryEvent... botLocaleHistoryEvents)History of changes, such as when a locale is used in an alias, that have taken place for the locale.DescribeBotLocaleResponse.BuilderbotLocaleStatus(String botLocaleStatus)The status of the bot.DescribeBotLocaleResponse.BuilderbotLocaleStatus(BotLocaleStatus botLocaleStatus)The status of the bot.DescribeBotLocaleResponse.BuilderbotVersion(String botVersion)The version of the bot associated with the locale.DescribeBotLocaleResponse.BuildercreationDateTime(Instant creationDateTime)The date and time that the locale was created.DescribeBotLocaleResponse.Builderdescription(String description)The description of the locale.DescribeBotLocaleResponse.BuilderfailureReasons(String... failureReasons)ifbotLocaleStatusisFailed, Amazon Lex explains why it failed to build the bot.DescribeBotLocaleResponse.BuilderfailureReasons(Collection<String> failureReasons)ifbotLocaleStatusisFailed, Amazon Lex explains why it failed to build the bot.default DescribeBotLocaleResponse.BuildergenerativeAISettings(Consumer<GenerativeAISettings.Builder> generativeAISettings)Contains settings for Amazon Bedrock's generative AI features for your bot locale.DescribeBotLocaleResponse.BuildergenerativeAISettings(GenerativeAISettings generativeAISettings)Contains settings for Amazon Bedrock's generative AI features for your bot locale.DescribeBotLocaleResponse.BuilderintentsCount(Integer intentsCount)The number of intents defined for the locale.DescribeBotLocaleResponse.BuilderlastBuildSubmittedDateTime(Instant lastBuildSubmittedDateTime)The date and time that the locale was last submitted for building.DescribeBotLocaleResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time that the locale was last updated.DescribeBotLocaleResponse.BuilderlocaleId(String localeId)The unique identifier of the described locale.DescribeBotLocaleResponse.BuilderlocaleName(String localeName)The name of the locale.DescribeBotLocaleResponse.BuildernluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)The confidence threshold where Amazon Lex inserts theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.DescribeBotLocaleResponse.BuilderrecommendedActions(String... recommendedActions)Recommended actions to take to resolve an error in thefailureReasonsfield.DescribeBotLocaleResponse.BuilderrecommendedActions(Collection<String> recommendedActions)Recommended actions to take to resolve an error in thefailureReasonsfield.DescribeBotLocaleResponse.BuilderslotTypesCount(Integer slotTypesCount)The number of slot types defined for the locale.default DescribeBotLocaleResponse.BuildervoiceSettings(Consumer<VoiceSettings.Builder> voiceSettings)The Amazon Polly voice Amazon Lex uses for voice interaction with the user.DescribeBotLocaleResponse.BuildervoiceSettings(VoiceSettings voiceSettings)The Amazon Polly voice 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
DescribeBotLocaleResponse.Builder botId(String botId)
The identifier of the bot associated with the locale.
- Parameters:
botId- The identifier of the bot associated with the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
DescribeBotLocaleResponse.Builder botVersion(String botVersion)
The version of the bot associated with the locale.
- Parameters:
botVersion- The version of the bot associated with the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
DescribeBotLocaleResponse.Builder localeId(String localeId)
The unique identifier of the described locale.
- Parameters:
localeId- The unique identifier of the described locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeName
DescribeBotLocaleResponse.Builder localeName(String localeName)
The name of the locale.
- Parameters:
localeName- The name of the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeBotLocaleResponse.Builder description(String description)
The description of the locale.
- Parameters:
description- The description of the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nluIntentConfidenceThreshold
DescribeBotLocaleResponse.Builder nluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The confidence threshold where Amazon Lex inserts the
AMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.- Parameters:
nluIntentConfidenceThreshold- The 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
DescribeBotLocaleResponse.Builder voiceSettings(VoiceSettings voiceSettings)
The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
- Parameters:
voiceSettings- The Amazon Polly voice 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 DescribeBotLocaleResponse.Builder voiceSettings(Consumer<VoiceSettings.Builder> voiceSettings)
The Amazon Polly voice 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)
-
intentsCount
DescribeBotLocaleResponse.Builder intentsCount(Integer intentsCount)
The number of intents defined for the locale.
- Parameters:
intentsCount- The number of intents defined for the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypesCount
DescribeBotLocaleResponse.Builder slotTypesCount(Integer slotTypesCount)
The number of slot types defined for the locale.
- Parameters:
slotTypesCount- The number of slot types defined for the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botLocaleStatus
DescribeBotLocaleResponse.Builder botLocaleStatus(String botLocaleStatus)
The status of the bot. If the status is
Failed, the reasons for the failure are listed in thefailureReasonsfield.- Parameters:
botLocaleStatus- The status of the bot. If the status isFailed, the reasons for the failure are listed in thefailureReasonsfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BotLocaleStatus,BotLocaleStatus
-
botLocaleStatus
DescribeBotLocaleResponse.Builder botLocaleStatus(BotLocaleStatus botLocaleStatus)
The status of the bot. If the status is
Failed, the reasons for the failure are listed in thefailureReasonsfield.- Parameters:
botLocaleStatus- The status of the bot. If the status isFailed, the reasons for the failure are listed in thefailureReasonsfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BotLocaleStatus,BotLocaleStatus
-
failureReasons
DescribeBotLocaleResponse.Builder failureReasons(Collection<String> failureReasons)
if
botLocaleStatusisFailed, Amazon Lex explains why it failed to build the bot.- Parameters:
failureReasons- ifbotLocaleStatusisFailed, Amazon Lex explains why it failed to build the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
DescribeBotLocaleResponse.Builder failureReasons(String... failureReasons)
if
botLocaleStatusisFailed, Amazon Lex explains why it failed to build the bot.- Parameters:
failureReasons- ifbotLocaleStatusisFailed, Amazon Lex explains why it failed to build the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
DescribeBotLocaleResponse.Builder creationDateTime(Instant creationDateTime)
The date and time that the locale was created.
- Parameters:
creationDateTime- 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
DescribeBotLocaleResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time that the locale was last updated.
- Parameters:
lastUpdatedDateTime- 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.
-
lastBuildSubmittedDateTime
DescribeBotLocaleResponse.Builder lastBuildSubmittedDateTime(Instant lastBuildSubmittedDateTime)
The date and time that the locale was last submitted for building.
- Parameters:
lastBuildSubmittedDateTime- The date and time that the locale was last submitted for building.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botLocaleHistoryEvents
DescribeBotLocaleResponse.Builder botLocaleHistoryEvents(Collection<BotLocaleHistoryEvent> botLocaleHistoryEvents)
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
- Parameters:
botLocaleHistoryEvents- History of changes, such as when a locale is used in an alias, that have taken place for the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botLocaleHistoryEvents
DescribeBotLocaleResponse.Builder botLocaleHistoryEvents(BotLocaleHistoryEvent... botLocaleHistoryEvents)
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
- Parameters:
botLocaleHistoryEvents- History of changes, such as when a locale is used in an alias, that have taken place for the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botLocaleHistoryEvents
DescribeBotLocaleResponse.Builder botLocaleHistoryEvents(Consumer<BotLocaleHistoryEvent.Builder>... botLocaleHistoryEvents)
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
This is a convenience method that creates an instance of theBotLocaleHistoryEvent.Builderavoiding the need to create one manually viaBotLocaleHistoryEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#botLocaleHistoryEvents(List.) - Parameters:
botLocaleHistoryEvents- a consumer that will call methods onBotLocaleHistoryEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#botLocaleHistoryEvents(java.util.Collection)
-
recommendedActions
DescribeBotLocaleResponse.Builder recommendedActions(Collection<String> recommendedActions)
Recommended actions to take to resolve an error in the
failureReasonsfield.- Parameters:
recommendedActions- Recommended actions to take to resolve an error in thefailureReasonsfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
DescribeBotLocaleResponse.Builder recommendedActions(String... recommendedActions)
Recommended actions to take to resolve an error in the
failureReasonsfield.- Parameters:
recommendedActions- Recommended actions to take to resolve an error in thefailureReasonsfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeAISettings
DescribeBotLocaleResponse.Builder generativeAISettings(GenerativeAISettings generativeAISettings)
Contains settings for Amazon Bedrock's generative AI features for your bot locale.
- Parameters:
generativeAISettings- Contains settings for Amazon Bedrock's generative AI features for your bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeAISettings
default DescribeBotLocaleResponse.Builder generativeAISettings(Consumer<GenerativeAISettings.Builder> generativeAISettings)
Contains settings for Amazon Bedrock's generative AI features for your bot locale.
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)
-
-