Interface UpdateIntentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateIntentRequest.Builder,
,UpdateIntentRequest> LexModelsV2Request.Builder
,SdkBuilder<UpdateIntentRequest.Builder,
,UpdateIntentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateIntentRequest
-
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.description
(String description) The new description of the intent.default UpdateIntentRequest.Builder
dialogCodeHook
(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook) The new Lambda function to use between each turn of the conversation with the bot.dialogCodeHook
(DialogCodeHookSettings dialogCodeHook) The new Lambda function to use between each turn of the conversation with the bot.default UpdateIntentRequest.Builder
fulfillmentCodeHook
(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook) The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.fulfillmentCodeHook
(FulfillmentCodeHookSettings fulfillmentCodeHook) The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.default UpdateIntentRequest.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) A new list of contexts that must be active in order for Amazon Lex to consider the intent.inputContexts
(Consumer<InputContext.Builder>... inputContexts) A new list of contexts that must be active in order for Amazon Lex to consider the intent.inputContexts
(InputContext... inputContexts) A new list of contexts that must be active in order for Amazon Lex to consider the intent.default UpdateIntentRequest.Builder
intentClosingSetting
(Consumer<IntentClosingSetting.Builder> intentClosingSetting) The new response that Amazon Lex sends the user when the intent is closed.intentClosingSetting
(IntentClosingSetting intentClosingSetting) The new response that Amazon Lex sends the user when the intent is closed.default UpdateIntentRequest.Builder
intentConfirmationSetting
(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting) New prompts that Amazon Lex sends to the user to confirm the completion of an intent.intentConfirmationSetting
(IntentConfirmationSetting intentConfirmationSetting) New prompts that Amazon Lex sends to the user to confirm the completion of an intent.The unique identifier of the intent to update.intentName
(String intentName) The new name for the intent.default UpdateIntentRequest.Builder
kendraConfiguration
(Consumer<KendraConfiguration.Builder> kendraConfiguration) New configuration settings for connecting to an Amazon Kendra index.kendraConfiguration
(KendraConfiguration kendraConfiguration) New configuration settings for connecting to an Amazon Kendra index.The identifier of the language and locale where this intent is used.outputContexts
(Collection<OutputContext> outputContexts) A new list of contexts that Amazon Lex activates when the intent is fulfilled.outputContexts
(Consumer<OutputContext.Builder>... outputContexts) A new list of contexts that Amazon Lex activates when the intent is fulfilled.outputContexts
(OutputContext... outputContexts) A new list of contexts that Amazon Lex activates when the intent is fulfilled.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentIntentSignature
(String parentIntentSignature) The signature of the new built-in intent to use as the parent of this intent.default UpdateIntentRequest.Builder
qnAIntentConfiguration
(Consumer<QnAIntentConfiguration.Builder> qnAIntentConfiguration) Specifies the configuration of the built-inAmazon.QnAIntent
.qnAIntentConfiguration
(QnAIntentConfiguration qnAIntentConfiguration) Specifies the configuration of the built-inAmazon.QnAIntent
.sampleUtterances
(Collection<SampleUtterance> sampleUtterances) New utterances used to invoke the intent.sampleUtterances
(Consumer<SampleUtterance.Builder>... sampleUtterances) New utterances used to invoke the intent.sampleUtterances
(SampleUtterance... sampleUtterances) New utterances used to invoke the intent.slotPriorities
(Collection<SlotPriority> slotPriorities) A new list of slots and their priorities that are contained by the intent.slotPriorities
(Consumer<SlotPriority.Builder>... slotPriorities) A new list of slots and their priorities that are contained by the intent.slotPriorities
(SlotPriority... slotPriorities) A new list of slots and their priorities that are contained by the intent.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
intentId
The unique identifier of the intent to update.
- Parameters:
intentId
- The unique identifier of the intent to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentName
The new name for the intent.
- Parameters:
intentName
- The new name for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description of the intent.
- Parameters:
description
- The new description of the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentIntentSignature
The signature of the new built-in intent to use as the parent of this intent.
- Parameters:
parentIntentSignature
- The signature of the new built-in intent to use as the parent of this intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
New utterances used to invoke the intent.
- Parameters:
sampleUtterances
- New utterances used to invoke the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
New utterances used to invoke the intent.
- Parameters:
sampleUtterances
- New utterances used to invoke the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
New utterances used to invoke 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 new Lambda function to use between each turn of the conversation with the bot.
- Parameters:
dialogCodeHook
- The new Lambda function to use between each turn of the conversation with the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialogCodeHook
default UpdateIntentRequest.Builder dialogCodeHook(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook) The new Lambda function to use between each turn of the conversation with the bot.
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 new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.
- Parameters:
fulfillmentCodeHook
- The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fulfillmentCodeHook
default UpdateIntentRequest.Builder fulfillmentCodeHook(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook) The new Lambda function to call when all of the intents required slots are provided and 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
A new list of slots and their priorities that are contained by the intent.
- Parameters:
slotPriorities
- A new list of slots and their priorities that are contained by the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotPriorities
A new list of slots and their priorities that are contained by the intent.
- Parameters:
slotPriorities
- A new list of slots and their priorities that are contained by the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotPriorities
A new list of slots and their priorities that are contained by 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
UpdateIntentRequest.Builder intentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting) New prompts that Amazon Lex sends to the user to confirm the completion of an intent.
- Parameters:
intentConfirmationSetting
- New 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 UpdateIntentRequest.Builder intentConfirmationSetting(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting) New 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 new response that Amazon Lex sends the user when the intent is closed.
- Parameters:
intentClosingSetting
- The new 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 UpdateIntentRequest.Builder intentClosingSetting(Consumer<IntentClosingSetting.Builder> intentClosingSetting) The new 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
A new list of contexts that must be active in order for Amazon Lex to consider the intent.
- Parameters:
inputContexts
- A new list of contexts that must be active in order for Amazon Lex to consider the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
A new list of contexts that must be active in order for Amazon Lex to consider the intent.
- Parameters:
inputContexts
- A new list of contexts that must be active in order for Amazon Lex to consider the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
A new list of contexts that must be active in order for Amazon Lex to consider the intent.
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
A new list of contexts that Amazon Lex activates when the intent is fulfilled.
- Parameters:
outputContexts
- A new 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
A new list of contexts that Amazon Lex activates when the intent is fulfilled.
- Parameters:
outputContexts
- A new 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
A new 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
New configuration settings for connecting to an Amazon Kendra index.
- Parameters:
kendraConfiguration
- New configuration settings for connecting to an Amazon Kendra index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kendraConfiguration
default UpdateIntentRequest.Builder kendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration) New configuration settings for connecting to an Amazon Kendra index.
This is a convenience method that creates an instance of theKendraConfiguration.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. Must be
DRAFT
.- Parameters:
botVersion
- The version of the bot that contains the intent. Must beDRAFT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see Supported languages.
- Parameters:
localeId
- The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see Supported languages.- 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 UpdateIntentRequest.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:
-
qnAIntentConfiguration
Specifies the configuration of the built-in
Amazon.QnAIntent
. TheAMAZON.QnAIntent
intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify thekendraConfiguration
field.- Parameters:
qnAIntentConfiguration
- Specifies the configuration of the built-inAmazon.QnAIntent
. TheAMAZON.QnAIntent
intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify thekendraConfiguration
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qnAIntentConfiguration
default UpdateIntentRequest.Builder qnAIntentConfiguration(Consumer<QnAIntentConfiguration.Builder> qnAIntentConfiguration) Specifies the configuration of the built-in
This is a convenience method that creates an instance of theAmazon.QnAIntent
. TheAMAZON.QnAIntent
intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify thekendraConfiguration
field.QnAIntentConfiguration.Builder
avoiding the need to create one manually viaQnAIntentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqnAIntentConfiguration(QnAIntentConfiguration)
.- Parameters:
qnAIntentConfiguration
- a consumer that will call methods onQnAIntentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateIntentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateIntentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-