Interface DescribeIntentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeIntentResponse.Builder,
,DescribeIntentResponse> LexModelsV2Response.Builder
,SdkBuilder<DescribeIntentResponse.Builder,
,DescribeIntentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeIntentResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot associated with the intent.botVersion
(String botVersion) The version of the bot associated with the intent.creationDateTime
(Instant creationDateTime) A timestamp of the date and time that the intent was created.description
(String description) The description of the intent.default DescribeIntentResponse.Builder
dialogCodeHook
(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook) The Lambda function called during each turn of a conversation with the intent.dialogCodeHook
(DialogCodeHookSettings dialogCodeHook) The Lambda function called during each turn of a conversation with the intent.default DescribeIntentResponse.Builder
fulfillmentCodeHook
(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook) The Lambda function called when the intent is complete and ready for fulfillment.fulfillmentCodeHook
(FulfillmentCodeHookSettings fulfillmentCodeHook) The Lambda function called when the intent is complete and ready for fulfillment.default DescribeIntentResponse.Builder
initialResponseSetting
(Consumer<InitialResponseSetting.Builder> initialResponseSetting) Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.initialResponseSetting
(InitialResponseSetting initialResponseSetting) Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.inputContexts
(Collection<InputContext> inputContexts) A list of contexts that must be active for the intent to be considered for sending to the user.inputContexts
(Consumer<InputContext.Builder>... inputContexts) A list of contexts that must be active for the intent to be considered for sending to the user.inputContexts
(InputContext... inputContexts) A list of contexts that must be active for the intent to be considered for sending to the user.default DescribeIntentResponse.Builder
intentClosingSetting
(Consumer<IntentClosingSetting.Builder> intentClosingSetting) The response that Amazon Lex sends to when the intent is closed.intentClosingSetting
(IntentClosingSetting intentClosingSetting) The response that Amazon Lex sends to when the intent is closed.default DescribeIntentResponse.Builder
intentConfirmationSetting
(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting) Prompts that Amazon Lex sends to the user to confirm completion of an intent.intentConfirmationSetting
(IntentConfirmationSetting intentConfirmationSetting) Prompts that Amazon Lex sends to the user to confirm completion of an intent.The unique identifier assigned to the intent when it was created.intentName
(String intentName) The name specified for the intent.default DescribeIntentResponse.Builder
kendraConfiguration
(Consumer<KendraConfiguration.Builder> kendraConfiguration) Configuration information required to use theAMAZON.KendraSearchIntent
intent.kendraConfiguration
(KendraConfiguration kendraConfiguration) Configuration information required to use theAMAZON.KendraSearchIntent
intent.lastUpdatedDateTime
(Instant lastUpdatedDateTime) A timestamp of the date and time that the intent was last updated.The language and locale specified for the intent.outputContexts
(Collection<OutputContext> outputContexts) A list of contexts that are activated when the intent is fulfilled.outputContexts
(Consumer<OutputContext.Builder>... outputContexts) A list of contexts that are activated when the intent is fulfilled.outputContexts
(OutputContext... outputContexts) A list of contexts that are activated when the intent is fulfilled.parentIntentSignature
(String parentIntentSignature) The identifier of the built-in intent that this intent is derived from, if any.default DescribeIntentResponse.Builder
qnAIntentConfiguration
(Consumer<QnAIntentConfiguration.Builder> qnAIntentConfiguration) Details about the configuration of the built-inAmazon.QnAIntent
.qnAIntentConfiguration
(QnAIntentConfiguration qnAIntentConfiguration) Details about the configuration of the built-inAmazon.QnAIntent
.sampleUtterances
(Collection<SampleUtterance> sampleUtterances) User utterances that trigger this intent.sampleUtterances
(Consumer<SampleUtterance.Builder>... sampleUtterances) User utterances that trigger this intent.sampleUtterances
(SampleUtterance... sampleUtterances) User utterances that trigger this intent.slotPriorities
(Collection<SlotPriority> slotPriorities) The list that determines the priority that slots should be elicited from the user.slotPriorities
(Consumer<SlotPriority.Builder>... slotPriorities) The list that determines the priority that slots should be elicited from the user.slotPriorities
(SlotPriority... slotPriorities) The list that determines the priority that slots should be elicited from 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 Details
-
intentId
The unique identifier assigned to the intent when it was created.
- Parameters:
intentId
- The unique identifier assigned to the intent when it was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentName
The name specified for the intent.
- Parameters:
intentName
- The name specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the intent.
- Parameters:
description
- The description of the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentIntentSignature
The identifier of the built-in intent that this intent is derived from, if any.
- Parameters:
parentIntentSignature
- The identifier of the built-in intent that this intent is derived from, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
User utterances that trigger this intent.
- Parameters:
sampleUtterances
- User utterances that trigger this intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
User utterances that trigger this intent.
- Parameters:
sampleUtterances
- User utterances that trigger this intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
DescribeIntentResponse.Builder sampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances) User utterances that trigger this 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 Lambda function called during each turn of a conversation with the intent.
- Parameters:
dialogCodeHook
- The Lambda function called during each turn of a conversation with the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialogCodeHook
default DescribeIntentResponse.Builder dialogCodeHook(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook) The Lambda function called during each turn of a conversation with the intent.
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 Lambda function called when the intent is complete and ready for fulfillment.
- Parameters:
fulfillmentCodeHook
- The Lambda function called when the intent is complete and ready for fulfillment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fulfillmentCodeHook
default DescribeIntentResponse.Builder fulfillmentCodeHook(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook) The Lambda function called when the intent is complete and 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 list that determines the priority that slots should be elicited from the user.
- Parameters:
slotPriorities
- The list that determines the priority that slots should be elicited from the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotPriorities
The list that determines the priority that slots should be elicited from the user.
- Parameters:
slotPriorities
- The list that determines the priority that slots should be elicited from the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotPriorities
The list that determines the priority that slots should be elicited from the user.
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
DescribeIntentResponse.Builder intentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting) Prompts that Amazon Lex sends to the user to confirm completion of an intent.
- Parameters:
intentConfirmationSetting
- Prompts that Amazon Lex sends to the user to confirm completion of an intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentConfirmationSetting
default DescribeIntentResponse.Builder intentConfirmationSetting(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting) Prompts that Amazon Lex sends to the user to confirm 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 response that Amazon Lex sends to when the intent is closed.
- Parameters:
intentClosingSetting
- The response that Amazon Lex sends to when the intent is closed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentClosingSetting
default DescribeIntentResponse.Builder intentClosingSetting(Consumer<IntentClosingSetting.Builder> intentClosingSetting) The response that Amazon Lex sends to 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 list of contexts that must be active for the intent to be considered for sending to the user.
- Parameters:
inputContexts
- A list of contexts that must be active for the intent to be considered for sending to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
A list of contexts that must be active for the intent to be considered for sending to the user.
- Parameters:
inputContexts
- A list of contexts that must be active for the intent to be considered for sending to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
A list of contexts that must be active for the intent to be considered for sending to the user.
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 list of contexts that are activated when the intent is fulfilled.
- Parameters:
outputContexts
- A list of contexts that are activated when the intent is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputContexts
A list of contexts that are activated when the intent is fulfilled.
- Parameters:
outputContexts
- A list of contexts that are activated when the intent is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputContexts
A list of contexts that are activated 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
Configuration information required to use the
AMAZON.KendraSearchIntent
intent.- Parameters:
kendraConfiguration
- Configuration information required to use theAMAZON.KendraSearchIntent
intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kendraConfiguration
default DescribeIntentResponse.Builder kendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration) Configuration information required to use 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 associated with the intent.
- Parameters:
botId
- The identifier of the bot associated with the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot associated with the intent.
- Parameters:
botVersion
- The version of the bot associated with the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The language and locale specified for the intent.
- Parameters:
localeId
- The language and locale specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
A timestamp of the date and time that the intent was created.
- Parameters:
creationDateTime
- A timestamp of the date and time that the intent was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
A timestamp of the date and time that the intent was last updated.
- Parameters:
lastUpdatedDateTime
- A timestamp of the date and time that the intent was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialResponseSetting
DescribeIntentResponse.Builder initialResponseSetting(InitialResponseSetting initialResponseSetting) Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
- Parameters:
initialResponseSetting
- Configuration setting 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 DescribeIntentResponse.Builder initialResponseSetting(Consumer<InitialResponseSetting.Builder> initialResponseSetting) Configuration setting 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
DescribeIntentResponse.Builder qnAIntentConfiguration(QnAIntentConfiguration qnAIntentConfiguration) Details about the configuration of the built-in
Amazon.QnAIntent
.- Parameters:
qnAIntentConfiguration
- Details about the configuration of the built-inAmazon.QnAIntent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qnAIntentConfiguration
default DescribeIntentResponse.Builder qnAIntentConfiguration(Consumer<QnAIntentConfiguration.Builder> qnAIntentConfiguration) Details about the configuration of the built-in
This is a convenience method that creates an instance of theAmazon.QnAIntent
.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:
-