public static interface PutIntentResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<PutIntentResponse.Builder,PutIntentResponse>
| Modifier and Type | Method and Description |
|---|---|
PutIntentResponse.Builder |
checksum(String checksum)
Checksum of the
$LATESTversion of the intent created or updated. |
default PutIntentResponse.Builder |
conclusionStatement(Consumer<Statement.Builder> conclusionStatement)
After the Lambda function specified in the
fulfillmentActivityintent fulfills the intent, Amazon
Lex conveys this statement to the user. |
PutIntentResponse.Builder |
conclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the
fulfillmentActivityintent fulfills the intent, Amazon
Lex conveys this statement to the user. |
default PutIntentResponse.Builder |
confirmationPrompt(Consumer<Prompt.Builder> confirmationPrompt)
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
|
PutIntentResponse.Builder |
confirmationPrompt(Prompt confirmationPrompt)
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
|
PutIntentResponse.Builder |
createdDate(Instant createdDate)
The date that the intent was created.
|
PutIntentResponse.Builder |
createVersion(Boolean createVersion)
True if a new version of the intent was created. |
PutIntentResponse.Builder |
description(String description)
A description of the intent.
|
PutIntentResponse.Builder |
dialogCodeHook(CodeHook dialogCodeHook)
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
|
default PutIntentResponse.Builder |
dialogCodeHook(Consumer<CodeHook.Builder> dialogCodeHook)
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
|
default PutIntentResponse.Builder |
followUpPrompt(Consumer<FollowUpPrompt.Builder> followUpPrompt)
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
PutIntentResponse.Builder |
followUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
default PutIntentResponse.Builder |
fulfillmentActivity(Consumer<FulfillmentActivity.Builder> fulfillmentActivity)
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user
provides all of the information required by the intent.
|
PutIntentResponse.Builder |
fulfillmentActivity(FulfillmentActivity fulfillmentActivity)
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user
provides all of the information required by the intent.
|
PutIntentResponse.Builder |
inputContexts(Collection<InputContext> inputContexts)
An array of
InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user. |
PutIntentResponse.Builder |
inputContexts(Consumer<InputContext.Builder>... inputContexts)
An array of
InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user. |
PutIntentResponse.Builder |
inputContexts(InputContext... inputContexts)
An array of
InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user. |
default PutIntentResponse.Builder |
kendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration)
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent intent. |
PutIntentResponse.Builder |
kendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent intent. |
PutIntentResponse.Builder |
lastUpdatedDate(Instant lastUpdatedDate)
The date that the intent was updated.
|
PutIntentResponse.Builder |
name(String name)
The name of the intent.
|
PutIntentResponse.Builder |
outputContexts(Collection<OutputContext> outputContexts)
An array of
OutputContext objects that lists the contexts that the intent activates when the
intent is fulfilled. |
PutIntentResponse.Builder |
outputContexts(Consumer<OutputContext.Builder>... outputContexts)
An array of
OutputContext objects that lists the contexts that the intent activates when the
intent is fulfilled. |
PutIntentResponse.Builder |
outputContexts(OutputContext... outputContexts)
An array of
OutputContext objects that lists the contexts that the intent activates when the
intent is fulfilled. |
PutIntentResponse.Builder |
parentIntentSignature(String parentIntentSignature)
A unique identifier for the built-in intent that this intent is based on.
|
default PutIntentResponse.Builder |
rejectionStatement(Consumer<Statement.Builder> rejectionStatement)
If the user answers "no" to the question defined in
confirmationPrompt Amazon Lex responds with
this statement to acknowledge that the intent was canceled. |
PutIntentResponse.Builder |
rejectionStatement(Statement rejectionStatement)
If the user answers "no" to the question defined in
confirmationPrompt Amazon Lex responds with
this statement to acknowledge that the intent was canceled. |
PutIntentResponse.Builder |
sampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances that are configured for the intent.
|
PutIntentResponse.Builder |
sampleUtterances(String... sampleUtterances)
An array of sample utterances that are configured for the intent.
|
PutIntentResponse.Builder |
slots(Collection<Slot> slots)
An array of intent slots that are configured for the intent.
|
PutIntentResponse.Builder |
slots(Consumer<Slot.Builder>... slots)
An array of intent slots that are configured for the intent.
|
PutIntentResponse.Builder |
slots(Slot... slots)
An array of intent slots that are configured for the intent.
|
PutIntentResponse.Builder |
version(String version)
The version of the intent.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutIntentResponse.Builder name(String name)
The name of the intent.
name - The name of the intent.PutIntentResponse.Builder description(String description)
A description of the intent.
description - A description of the intent.PutIntentResponse.Builder slots(Collection<Slot> slots)
An array of intent slots that are configured for the intent.
slots - An array of intent slots that are configured for the intent.PutIntentResponse.Builder slots(Slot... slots)
An array of intent slots that are configured for the intent.
slots - An array of intent slots that are configured for the intent.PutIntentResponse.Builder slots(Consumer<Slot.Builder>... slots)
An array of intent slots that are configured for the intent.
This is a convenience method that creates an instance of theSlot.Builder avoiding the need to create one
manually via Slot.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #slots(List.
slots - a consumer that will call methods on
Slot.Builder#slots(java.util.Collection) PutIntentResponse.Builder sampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances that are configured for the intent.
sampleUtterances - An array of sample utterances that are configured for the intent.PutIntentResponse.Builder sampleUtterances(String... sampleUtterances)
An array of sample utterances that are configured for the intent.
sampleUtterances - An array of sample utterances that are configured for the intent.PutIntentResponse.Builder confirmationPrompt(Prompt confirmationPrompt)
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
confirmationPrompt - If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.default PutIntentResponse.Builder confirmationPrompt(Consumer<Prompt.Builder> confirmationPrompt)
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
This is a convenience method that creates an instance of thePrompt.Builder avoiding the need to
create one manually via Prompt.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to confirmationPrompt(Prompt).
confirmationPrompt - a consumer that will call methods on Prompt.BuilderconfirmationPrompt(Prompt)PutIntentResponse.Builder rejectionStatement(Statement rejectionStatement)
If the user answers "no" to the question defined in confirmationPrompt Amazon Lex responds with
this statement to acknowledge that the intent was canceled.
rejectionStatement - If the user answers "no" to the question defined in confirmationPrompt Amazon Lex
responds with this statement to acknowledge that the intent was canceled.default PutIntentResponse.Builder rejectionStatement(Consumer<Statement.Builder> rejectionStatement)
If the user answers "no" to the question defined in confirmationPrompt Amazon Lex responds with
this statement to acknowledge that the intent was canceled.
Statement.Builder avoiding the need to
create one manually via Statement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to rejectionStatement(Statement).
rejectionStatement - a consumer that will call methods on Statement.BuilderrejectionStatement(Statement)PutIntentResponse.Builder followUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
followUpPrompt - If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the
intent is fulfilled.default PutIntentResponse.Builder followUpPrompt(Consumer<FollowUpPrompt.Builder> followUpPrompt)
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
This is a convenience method that creates an instance of theFollowUpPrompt.Builder avoiding the need
to create one manually via FollowUpPrompt.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to followUpPrompt(FollowUpPrompt).
followUpPrompt - a consumer that will call methods on FollowUpPrompt.BuilderfollowUpPrompt(FollowUpPrompt)PutIntentResponse.Builder conclusionStatement(Statement conclusionStatement)
After the Lambda function specified in thefulfillmentActivityintent fulfills the intent, Amazon
Lex conveys this statement to the user.
conclusionStatement - After the Lambda function specified in thefulfillmentActivityintent fulfills the intent,
Amazon Lex conveys this statement to the user.default PutIntentResponse.Builder conclusionStatement(Consumer<Statement.Builder> conclusionStatement)
After the Lambda function specified in thefulfillmentActivityintent fulfills the intent, Amazon
Lex conveys this statement to the user.
Statement.Builder avoiding the need to
create one manually via Statement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to conclusionStatement(Statement).
conclusionStatement - a consumer that will call methods on Statement.BuilderconclusionStatement(Statement)PutIntentResponse.Builder dialogCodeHook(CodeHook dialogCodeHook)
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
dialogCodeHook - If defined in the intent, Amazon Lex invokes this Lambda function for each user input.default PutIntentResponse.Builder dialogCodeHook(Consumer<CodeHook.Builder> dialogCodeHook)
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
This is a convenience method that creates an instance of theCodeHook.Builder avoiding the need to
create one manually via CodeHook.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to dialogCodeHook(CodeHook).
dialogCodeHook - a consumer that will call methods on CodeHook.BuilderdialogCodeHook(CodeHook)PutIntentResponse.Builder fulfillmentActivity(FulfillmentActivity fulfillmentActivity)
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent.
fulfillmentActivity - If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user
provides all of the information required by the intent.default PutIntentResponse.Builder fulfillmentActivity(Consumer<FulfillmentActivity.Builder> fulfillmentActivity)
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent.
This is a convenience method that creates an instance of theFulfillmentActivity.Builder avoiding the
need to create one manually via FulfillmentActivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to fulfillmentActivity(FulfillmentActivity).
fulfillmentActivity - a consumer that will call methods on FulfillmentActivity.BuilderfulfillmentActivity(FulfillmentActivity)PutIntentResponse.Builder parentIntentSignature(String parentIntentSignature)
A unique identifier for the built-in intent that this intent is based on.
parentIntentSignature - A unique identifier for the built-in intent that this intent is based on.PutIntentResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The date that the intent was updated. When you create a resource, the creation date and last update dates are the same.
lastUpdatedDate - The date that the intent was updated. When you create a resource, the creation date and last update
dates are the same.PutIntentResponse.Builder createdDate(Instant createdDate)
The date that the intent was created.
createdDate - The date that the intent was created.PutIntentResponse.Builder version(String version)
The version of the intent. For a new intent, the version is always $LATEST.
version - The version of the intent. For a new intent, the version is always $LATEST.PutIntentResponse.Builder checksum(String checksum)
Checksum of the $LATESTversion of the intent created or updated.
checksum - Checksum of the $LATESTversion of the intent created or updated.PutIntentResponse.Builder createVersion(Boolean createVersion)
True if a new version of the intent was created. If the createVersion field was not
specified in the request, the createVersion field is set to false in the response.
createVersion - True if a new version of the intent was created. If the createVersion field
was not specified in the request, the createVersion field is set to false in the
response.PutIntentResponse.Builder kendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent intent.
kendraConfiguration - Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent intent.default PutIntentResponse.Builder kendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration)
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent intent.
KendraConfiguration.Builder avoiding the
need to create one manually via KendraConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to kendraConfiguration(KendraConfiguration).
kendraConfiguration - a consumer that will call methods on KendraConfiguration.BuilderkendraConfiguration(KendraConfiguration)PutIntentResponse.Builder inputContexts(Collection<InputContext> inputContexts)
An array of InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user.
inputContexts - An array of InputContext objects that lists the contexts that must be active for Amazon
Lex to choose the intent in a conversation with the user.PutIntentResponse.Builder inputContexts(InputContext... inputContexts)
An array of InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user.
inputContexts - An array of InputContext objects that lists the contexts that must be active for Amazon
Lex to choose the intent in a conversation with the user.PutIntentResponse.Builder inputContexts(Consumer<InputContext.Builder>... inputContexts)
An array of InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user.
InputContext.Builder avoiding the need to
create one manually via InputContext.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #inputContexts(List.
inputContexts - a consumer that will call methods on
InputContext.Builder#inputContexts(java.util.Collection) PutIntentResponse.Builder outputContexts(Collection<OutputContext> outputContexts)
An array of OutputContext objects that lists the contexts that the intent activates when the
intent is fulfilled.
outputContexts - An array of OutputContext objects that lists the contexts that the intent activates when
the intent is fulfilled.PutIntentResponse.Builder outputContexts(OutputContext... outputContexts)
An array of OutputContext objects that lists the contexts that the intent activates when the
intent is fulfilled.
outputContexts - An array of OutputContext objects that lists the contexts that the intent activates when
the intent is fulfilled.PutIntentResponse.Builder outputContexts(Consumer<OutputContext.Builder>... outputContexts)
An array of OutputContext objects that lists the contexts that the intent activates when the
intent is fulfilled.
OutputContext.Builder avoiding the need to
create one manually via
OutputContext.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #outputContexts(List.
outputContexts - a consumer that will call methods on
OutputContext.Builder#outputContexts(java.util.Collection) Copyright © 2022. All rights reserved.