Interface UpdateIntentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateIntentResponse.Builder,UpdateIntentResponse>,LexModelsV2Response.Builder,SdkBuilder<UpdateIntentResponse.Builder,UpdateIntentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateIntentResponse
public static interface UpdateIntentResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateIntentResponse.Builder,UpdateIntentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateIntentResponse.BuilderbotId(String botId)The identifier of the bot that contains the intent.UpdateIntentResponse.BuilderbotVersion(String botVersion)The version of the bot that contains the intent.UpdateIntentResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of when the intent was created.UpdateIntentResponse.Builderdescription(String description)The updated description of the intent.default UpdateIntentResponse.BuilderdialogCodeHook(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook)The updated Lambda function called during each turn of the conversation with the user.UpdateIntentResponse.BuilderdialogCodeHook(DialogCodeHookSettings dialogCodeHook)The updated Lambda function called during each turn of the conversation with the user.default UpdateIntentResponse.BuilderfulfillmentCodeHook(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook)The updated Lambda function called when the intent is ready for fulfillment.UpdateIntentResponse.BuilderfulfillmentCodeHook(FulfillmentCodeHookSettings fulfillmentCodeHook)The updated Lambda function called when the intent is ready for fulfillment.default UpdateIntentResponse.BuilderinitialResponseSetting(Consumer<InitialResponseSetting.Builder> initialResponseSetting)Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.UpdateIntentResponse.BuilderinitialResponseSetting(InitialResponseSetting initialResponseSetting)Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.UpdateIntentResponse.BuilderinputContexts(Collection<InputContext> inputContexts)The updated list of contexts that must be active for the intent to be considered by Amazon Lex.UpdateIntentResponse.BuilderinputContexts(Consumer<InputContext.Builder>... inputContexts)The updated list of contexts that must be active for the intent to be considered by Amazon Lex.UpdateIntentResponse.BuilderinputContexts(InputContext... inputContexts)The updated list of contexts that must be active for the intent to be considered by Amazon Lex.default UpdateIntentResponse.BuilderintentClosingSetting(Consumer<IntentClosingSetting.Builder> intentClosingSetting)The updated response that Amazon Lex sends the user when the intent is closed.UpdateIntentResponse.BuilderintentClosingSetting(IntentClosingSetting intentClosingSetting)The updated response that Amazon Lex sends the user when the intent is closed.default UpdateIntentResponse.BuilderintentConfirmationSetting(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting)The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.UpdateIntentResponse.BuilderintentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting)The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.UpdateIntentResponse.BuilderintentId(String intentId)The identifier of the intent that was updated.UpdateIntentResponse.BuilderintentName(String intentName)The updated name of the intent.default UpdateIntentResponse.BuilderkendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration)The updated configuration for connecting to an Amazon Kendra index with theAMAZON.KendraSearchIntentintent.UpdateIntentResponse.BuilderkendraConfiguration(KendraConfiguration kendraConfiguration)The updated configuration for connecting to an Amazon Kendra index with theAMAZON.KendraSearchIntentintent.UpdateIntentResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)A timestamp of the last time that the intent was modified.UpdateIntentResponse.BuilderlocaleId(String localeId)The updated language and locale of the intent.UpdateIntentResponse.BuilderoutputContexts(Collection<OutputContext> outputContexts)The updated list of contexts that Amazon Lex activates when the intent is fulfilled.UpdateIntentResponse.BuilderoutputContexts(Consumer<OutputContext.Builder>... outputContexts)The updated list of contexts that Amazon Lex activates when the intent is fulfilled.UpdateIntentResponse.BuilderoutputContexts(OutputContext... outputContexts)The updated list of contexts that Amazon Lex activates when the intent is fulfilled.UpdateIntentResponse.BuilderparentIntentSignature(String parentIntentSignature)The updated built-in intent that is the parent of this intent.UpdateIntentResponse.BuildersampleUtterances(Collection<SampleUtterance> sampleUtterances)The updated list of sample utterances for the intent.UpdateIntentResponse.BuildersampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances)The updated list of sample utterances for the intent.UpdateIntentResponse.BuildersampleUtterances(SampleUtterance... sampleUtterances)The updated list of sample utterances for the intent.UpdateIntentResponse.BuilderslotPriorities(Collection<SlotPriority> slotPriorities)The updated list of slots and their priorities that are elicited from the user for the intent.UpdateIntentResponse.BuilderslotPriorities(Consumer<SlotPriority.Builder>... slotPriorities)The updated list of slots and their priorities that are elicited from the user for the intent.UpdateIntentResponse.BuilderslotPriorities(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 Detail
-
intentId
UpdateIntentResponse.Builder intentId(String 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
UpdateIntentResponse.Builder intentName(String 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
UpdateIntentResponse.Builder description(String 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
UpdateIntentResponse.Builder parentIntentSignature(String 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
UpdateIntentResponse.Builder sampleUtterances(Collection<SampleUtterance> 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(SampleUtterance... 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.Builderavoiding the need to create one manually viaSampleUtterance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sampleUtterances(List.) - 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:
#sampleUtterances(java.util.Collection)
-
dialogCodeHook
UpdateIntentResponse.Builder dialogCodeHook(DialogCodeHookSettings 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.Builderavoiding the need to create one manually viaDialogCodeHookSettings.builder().When the
Consumercompletes,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:
dialogCodeHook(DialogCodeHookSettings)
-
fulfillmentCodeHook
UpdateIntentResponse.Builder fulfillmentCodeHook(FulfillmentCodeHookSettings 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.Builderavoiding the need to create one manually viaFulfillmentCodeHookSettings.builder().When the
Consumercompletes,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:
fulfillmentCodeHook(FulfillmentCodeHookSettings)
-
slotPriorities
UpdateIntentResponse.Builder slotPriorities(Collection<SlotPriority> 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
UpdateIntentResponse.Builder slotPriorities(SlotPriority... 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
UpdateIntentResponse.Builder slotPriorities(Consumer<SlotPriority.Builder>... 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.Builderavoiding the need to create one manually viaSlotPriority.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#slotPriorities(List.) - 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:
#slotPriorities(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaIntentConfirmationSetting.builder().When the
Consumercompletes,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:
intentConfirmationSetting(IntentConfirmationSetting)
-
intentClosingSetting
UpdateIntentResponse.Builder intentClosingSetting(IntentClosingSetting 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.Builderavoiding the need to create one manually viaIntentClosingSetting.builder().When the
Consumercompletes,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:
intentClosingSetting(IntentClosingSetting)
-
inputContexts
UpdateIntentResponse.Builder inputContexts(Collection<InputContext> 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
UpdateIntentResponse.Builder inputContexts(InputContext... 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
UpdateIntentResponse.Builder inputContexts(Consumer<InputContext.Builder>... 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.Builderavoiding the need to create one manually viaInputContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputContexts(List.) - 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:
#inputContexts(java.util.Collection)
-
outputContexts
UpdateIntentResponse.Builder outputContexts(Collection<OutputContext> 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
UpdateIntentResponse.Builder outputContexts(OutputContext... 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
UpdateIntentResponse.Builder outputContexts(Consumer<OutputContext.Builder>... 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.Builderavoiding the need to create one manually viaOutputContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputContexts(List.) - 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:
#outputContexts(java.util.Collection)
-
kendraConfiguration
UpdateIntentResponse.Builder kendraConfiguration(KendraConfiguration kendraConfiguration)
The updated configuration for connecting to an Amazon Kendra index with the
AMAZON.KendraSearchIntentintent.- Parameters:
kendraConfiguration- The updated configuration for connecting to an Amazon Kendra index with theAMAZON.KendraSearchIntentintent.- 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.KendraSearchIntentintent.KendraConfiguration.Builderavoiding the need to create one manually viaKendraConfiguration.builder().When the
Consumercompletes,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:
kendraConfiguration(KendraConfiguration)
-
botId
UpdateIntentResponse.Builder botId(String 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
UpdateIntentResponse.Builder botVersion(String 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
UpdateIntentResponse.Builder localeId(String 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
UpdateIntentResponse.Builder creationDateTime(Instant 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
UpdateIntentResponse.Builder lastUpdatedDateTime(Instant 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
UpdateIntentResponse.Builder initialResponseSetting(InitialResponseSetting 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.Builderavoiding the need to create one manually viaInitialResponseSetting.builder().When the
Consumercompletes,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:
initialResponseSetting(InitialResponseSetting)
-
-