Interface DescribeBotLocaleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeBotLocaleResponse.Builder,
,DescribeBotLocaleResponse> LexModelsV2Response.Builder
,SdkBuilder<DescribeBotLocaleResponse.Builder,
,DescribeBotLocaleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeBotLocaleResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot associated with the locale.botLocaleHistoryEvents
(Collection<BotLocaleHistoryEvent> botLocaleHistoryEvents) History of changes, such as when a locale is used in an alias, that have taken place for the locale.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.botLocaleHistoryEvents
(BotLocaleHistoryEvent... botLocaleHistoryEvents) History of changes, such as when a locale is used in an alias, that have taken place for the locale.botLocaleStatus
(String botLocaleStatus) The status of the bot.botLocaleStatus
(BotLocaleStatus botLocaleStatus) The status of the bot.botVersion
(String botVersion) The version of the bot associated with the locale.creationDateTime
(Instant creationDateTime) The date and time that the locale was created.description
(String description) The description of the locale.failureReasons
(String... failureReasons) ifbotLocaleStatus
isFailed
, Amazon Lex explains why it failed to build the bot.failureReasons
(Collection<String> failureReasons) ifbotLocaleStatus
isFailed
, Amazon Lex explains why it failed to build the bot.generativeAISettings
(Consumer<GenerativeAISettings.Builder> generativeAISettings) Contains settings for Amazon Bedrock's generative AI features for your bot locale.generativeAISettings
(GenerativeAISettings generativeAISettings) Contains settings for Amazon Bedrock's generative AI features for your bot locale.intentsCount
(Integer intentsCount) The number of intents defined for the locale.lastBuildSubmittedDateTime
(Instant lastBuildSubmittedDateTime) The date and time that the locale was last submitted for building.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time that the locale was last updated.The unique identifier of the described locale.localeName
(String localeName) The name of the locale.nluIntentConfidenceThreshold
(Double nluIntentConfidenceThreshold) The confidence threshold where Amazon Lex inserts 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.slotTypesCount
(Integer slotTypesCount) The number of slot types defined for the locale.voiceSettings
(Consumer<VoiceSettings.Builder> voiceSettings) The Amazon Polly voice Amazon Lex uses for voice interaction with the user.voiceSettings
(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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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
The confidence threshold where Amazon Lex inserts the
AMAZON.FallbackIntent
andAMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.- Parameters:
nluIntentConfidenceThreshold
- The confidence threshold where Amazon Lex inserts 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 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.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:
-
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
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
The status of the bot. If the status is
Failed
, the reasons for the failure are listed in thefailureReasons
field.- Parameters:
botLocaleStatus
- The status of the bot. If the status isFailed
, the reasons for the failure are listed in thefailureReasons
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botLocaleStatus
The status of the bot. If the status is
Failed
, the reasons for the failure are listed in thefailureReasons
field.- Parameters:
botLocaleStatus
- The status of the bot. If the status isFailed
, the reasons for the failure are listed in thefailureReasons
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReasons
if
botLocaleStatus
isFailed
, Amazon Lex explains why it failed to build the bot.- Parameters:
failureReasons
- ifbotLocaleStatus
isFailed
, 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
if
botLocaleStatus
isFailed
, Amazon Lex explains why it failed to build the bot.- Parameters:
failureReasons
- ifbotLocaleStatus
isFailed
, 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
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
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
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.Builder
avoiding the need to create one manually viaBotLocaleHistoryEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobotLocaleHistoryEvents(List<BotLocaleHistoryEvent>)
.- 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:
-
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 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.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:
-