Interface UpdateIntentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateIntentResponse.Builder,
,UpdateIntentResponse> LexModelsV2Response.Builder
,SdkBuilder<UpdateIntentResponse.Builder,
,UpdateIntentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateIntentResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot that contains the intent.botVersion
(String botVersion) The version of the bot that contains the intent.creationDateTime
(Instant creationDateTime) A timestamp of when the intent was created.description
(String description) The updated description of the intent.default UpdateIntentResponse.Builder
dialogCodeHook
(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook) The updated Lambda function called during each turn of the conversation with the user.dialogCodeHook
(DialogCodeHookSettings dialogCodeHook) The updated Lambda function called during each turn of the conversation with the user.default UpdateIntentResponse.Builder
fulfillmentCodeHook
(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook) The updated Lambda function called when the intent is ready for fulfillment.fulfillmentCodeHook
(FulfillmentCodeHookSettings fulfillmentCodeHook) The updated Lambda function called when the intent is ready for fulfillment.default UpdateIntentResponse.Builder
initialResponseSetting
(Consumer<InitialResponseSetting.Builder> initialResponseSetting) Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.initialResponseSetting
(InitialResponseSetting initialResponseSetting) Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.inputContexts
(Collection<InputContext> inputContexts) The updated list of contexts that must be active for the intent to be considered by Amazon Lex.inputContexts
(Consumer<InputContext.Builder>... inputContexts) The updated list of contexts that must be active for the intent to be considered by Amazon Lex.inputContexts
(InputContext... inputContexts) The updated list of contexts that must be active for the intent to be considered by Amazon Lex.default UpdateIntentResponse.Builder
intentClosingSetting
(Consumer<IntentClosingSetting.Builder> intentClosingSetting) The updated response that Amazon Lex sends the user when the intent is closed.intentClosingSetting
(IntentClosingSetting intentClosingSetting) The updated response that Amazon Lex sends the user when the intent is closed.default UpdateIntentResponse.Builder
intentConfirmationSetting
(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting) The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.intentConfirmationSetting
(IntentConfirmationSetting intentConfirmationSetting) The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.The identifier of the intent that was updated.intentName
(String intentName) The updated name of the intent.default UpdateIntentResponse.Builder
kendraConfiguration
(Consumer<KendraConfiguration.Builder> kendraConfiguration) The updated configuration for connecting to an Amazon Kendra index with theAMAZON.KendraSearchIntent
intent.kendraConfiguration
(KendraConfiguration kendraConfiguration) The updated configuration for connecting to an Amazon Kendra index with theAMAZON.KendraSearchIntent
intent.lastUpdatedDateTime
(Instant lastUpdatedDateTime) A timestamp of the last time that the intent was modified.The updated language and locale of the intent.outputContexts
(Collection<OutputContext> outputContexts) The updated list of contexts that Amazon Lex activates when the intent is fulfilled.outputContexts
(Consumer<OutputContext.Builder>... outputContexts) The updated list of contexts that Amazon Lex activates when the intent is fulfilled.outputContexts
(OutputContext... outputContexts) The updated list of contexts that Amazon Lex activates when the intent is fulfilled.parentIntentSignature
(String parentIntentSignature) The updated built-in intent that is the parent of this intent.sampleUtterances
(Collection<SampleUtterance> sampleUtterances) The updated list of sample utterances for the intent.sampleUtterances
(Consumer<SampleUtterance.Builder>... sampleUtterances) The updated list of sample utterances for the intent.sampleUtterances
(SampleUtterance... sampleUtterances) The updated list of sample utterances for the intent.slotPriorities
(Collection<SlotPriority> slotPriorities) The updated list of slots and their priorities that are elicited from the user for the intent.slotPriorities
(Consumer<SlotPriority.Builder>... slotPriorities) The updated list of slots and their priorities that are elicited from the user for the intent.slotPriorities
(SlotPriority... slotPriorities) The updated list of slots and their priorities that are elicited from the user for the intent.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
-
intentId
The identifier of the intent that was updated.
- Parameters:
intentId
- The identifier of the intent that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentName
The updated name of the intent.
- Parameters:
intentName
- The updated name of the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the intent.
- Parameters:
description
- The updated description of the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentIntentSignature
The updated built-in intent that is the parent of this intent.
- Parameters:
parentIntentSignature
- The updated built-in intent that is the parent of this intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
The updated list of sample utterances for the intent.
- Parameters:
sampleUtterances
- The updated list of sample utterances for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
The updated list of sample utterances for the intent.
- Parameters:
sampleUtterances
- The updated list of sample utterances for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
UpdateIntentResponse.Builder sampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances) The updated list of sample utterances for the intent.
This is a convenience method that creates an instance of theSampleUtterance.Builder
avoiding the need to create one manually viaSampleUtterance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosampleUtterances(List<SampleUtterance>)
.- Parameters:
sampleUtterances
- a consumer that will call methods onSampleUtterance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dialogCodeHook
The updated Lambda function called during each turn of the conversation with the user.
- Parameters:
dialogCodeHook
- The updated Lambda function called during each turn of the conversation with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialogCodeHook
default UpdateIntentResponse.Builder dialogCodeHook(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook) The updated Lambda function called during each turn of the conversation with the user.
This is a convenience method that creates an instance of theDialogCodeHookSettings.Builder
avoiding the need to create one manually viaDialogCodeHookSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todialogCodeHook(DialogCodeHookSettings)
.- Parameters:
dialogCodeHook
- a consumer that will call methods onDialogCodeHookSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fulfillmentCodeHook
The updated Lambda function called when the intent is ready for fulfillment.
- Parameters:
fulfillmentCodeHook
- The updated Lambda function called when the intent is ready for fulfillment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fulfillmentCodeHook
default UpdateIntentResponse.Builder fulfillmentCodeHook(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook) The updated Lambda function called when the intent is ready for fulfillment.
This is a convenience method that creates an instance of theFulfillmentCodeHookSettings.Builder
avoiding the need to create one manually viaFulfillmentCodeHookSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofulfillmentCodeHook(FulfillmentCodeHookSettings)
.- Parameters:
fulfillmentCodeHook
- a consumer that will call methods onFulfillmentCodeHookSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
slotPriorities
The updated list of slots and their priorities that are elicited from the user for the intent.
- Parameters:
slotPriorities
- The updated list of slots and their priorities that are elicited from the user for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotPriorities
The updated list of slots and their priorities that are elicited from the user for the intent.
- Parameters:
slotPriorities
- The updated list of slots and their priorities that are elicited from the user for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotPriorities
The updated list of slots and their priorities that are elicited from the user for the intent.
This is a convenience method that creates an instance of theSlotPriority.Builder
avoiding the need to create one manually viaSlotPriority.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslotPriorities(List<SlotPriority>)
.- Parameters:
slotPriorities
- a consumer that will call methods onSlotPriority.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intentConfirmationSetting
UpdateIntentResponse.Builder intentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting) The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.
- Parameters:
intentConfirmationSetting
- The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentConfirmationSetting
default UpdateIntentResponse.Builder intentConfirmationSetting(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting) The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.
This is a convenience method that creates an instance of theIntentConfirmationSetting.Builder
avoiding the need to create one manually viaIntentConfirmationSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointentConfirmationSetting(IntentConfirmationSetting)
.- Parameters:
intentConfirmationSetting
- a consumer that will call methods onIntentConfirmationSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intentClosingSetting
The updated response that Amazon Lex sends the user when the intent is closed.
- Parameters:
intentClosingSetting
- The updated response that Amazon Lex sends the user when the intent is closed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentClosingSetting
default UpdateIntentResponse.Builder intentClosingSetting(Consumer<IntentClosingSetting.Builder> intentClosingSetting) The updated response that Amazon Lex sends the user when the intent is closed.
This is a convenience method that creates an instance of theIntentClosingSetting.Builder
avoiding the need to create one manually viaIntentClosingSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointentClosingSetting(IntentClosingSetting)
.- Parameters:
intentClosingSetting
- a consumer that will call methods onIntentClosingSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputContexts
The updated list of contexts that must be active for the intent to be considered by Amazon Lex.
- Parameters:
inputContexts
- The updated list of contexts that must be active for the intent to be considered by Amazon Lex.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
The updated list of contexts that must be active for the intent to be considered by Amazon Lex.
- Parameters:
inputContexts
- The updated list of contexts that must be active for the intent to be considered by Amazon Lex.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
The updated list of contexts that must be active for the intent to be considered by Amazon Lex.
This is a convenience method that creates an instance of theInputContext.Builder
avoiding the need to create one manually viaInputContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputContexts(List<InputContext>)
.- Parameters:
inputContexts
- a consumer that will call methods onInputContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputContexts
The updated list of contexts that Amazon Lex activates when the intent is fulfilled.
- Parameters:
outputContexts
- The updated list of contexts that Amazon Lex activates when the intent is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputContexts
The updated list of contexts that Amazon Lex activates when the intent is fulfilled.
- Parameters:
outputContexts
- The updated list of contexts that Amazon Lex activates when the intent is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputContexts
The updated list of contexts that Amazon Lex activates when the intent is fulfilled.
This is a convenience method that creates an instance of theOutputContext.Builder
avoiding the need to create one manually viaOutputContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputContexts(List<OutputContext>)
.- Parameters:
outputContexts
- a consumer that will call methods onOutputContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kendraConfiguration
The updated configuration for connecting to an Amazon Kendra index with the
AMAZON.KendraSearchIntent
intent.- Parameters:
kendraConfiguration
- The updated configuration for connecting to an Amazon Kendra index with theAMAZON.KendraSearchIntent
intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kendraConfiguration
default UpdateIntentResponse.Builder kendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration) The updated configuration for connecting to an Amazon Kendra index with the
This is a convenience method that creates an instance of theAMAZON.KendraSearchIntent
intent.KendraConfiguration.Builder
avoiding the need to create one manually viaKendraConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokendraConfiguration(KendraConfiguration)
.- Parameters:
kendraConfiguration
- a consumer that will call methods onKendraConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botId
The identifier of the bot that contains the intent.
- Parameters:
botId
- The identifier of the bot that contains the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot that contains the intent. Will always be
DRAFT
.- Parameters:
botVersion
- The version of the bot that contains the intent. Will always beDRAFT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The updated language and locale of the intent.
- Parameters:
localeId
- The updated language and locale of the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
A timestamp of when the intent was created.
- Parameters:
creationDateTime
- A timestamp of when the intent was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
A timestamp of the last time that the intent was modified.
- Parameters:
lastUpdatedDateTime
- A timestamp of the last time that the intent was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialResponseSetting
Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
- Parameters:
initialResponseSetting
- Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialResponseSetting
default UpdateIntentResponse.Builder initialResponseSetting(Consumer<InitialResponseSetting.Builder> initialResponseSetting) Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
This is a convenience method that creates an instance of theInitialResponseSetting.Builder
avoiding the need to create one manually viaInitialResponseSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinitialResponseSetting(InitialResponseSetting)
.- Parameters:
initialResponseSetting
- a consumer that will call methods onInitialResponseSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-