CopyableBuilder<PutIntentResponse.Builder,PutIntentResponse>
, SdkBuilder<PutIntentResponse.Builder,PutIntentResponse>
public static interface PutIntentResponse.Builder extends CopyableBuilder<PutIntentResponse.Builder,PutIntentResponse>
Modifier and Type | Method | Description |
---|---|---|
PutIntentResponse.Builder |
checksum(String checksum) |
Checksum of the
$LATEST version of the intent created or updated. |
PutIntentResponse.Builder |
conclusionStatement(Statement conclusionStatement) |
After the Lambda function specified in the
fulfillmentActivity intent fulfills the intent, Amazon
Lex conveys this statement to the user. |
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(Date createdDate) |
The date that 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.
|
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.
|
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 |
lastUpdatedDate(Date lastUpdatedDate) |
The date that the intent was updated.
|
PutIntentResponse.Builder |
name(String name) |
The name of the intent.
|
PutIntentResponse.Builder |
parentIntentSignature(String parentIntentSignature) |
A unique identifier for the built-in intent that this intent is based on.
|
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(String... sampleUtterances) |
An array of sample utterances that are configured for the intent.
|
PutIntentResponse.Builder |
sampleUtterances(Collection<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(Slot... slots) |
An array of intent slots that are configured for the intent.
|
PutIntentResponse.Builder |
version(String version) |
The version of the intent.
|
copy
apply, build
PutIntentResponse.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.
NOTE: This method appends the values to the existing list (if any). Use
#setSlots(java.util.Collection)
or #withSlots(java.util.Collection)
if you want to override
the existing values.
slots
- An array of intent slots that are configured for the intent.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.
NOTE: This method appends the values to the existing list (if any). Use
#setSampleUtterances(java.util.Collection)
or #withSampleUtterances(java.util.Collection)
if
you want to override the existing values.
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.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.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.PutIntentResponse.Builder conclusionStatement(Statement conclusionStatement)
After the Lambda function specified in thefulfillmentActivity
intent fulfills the intent, Amazon
Lex conveys this statement to the user.
conclusionStatement
- After the Lambda function specified in thefulfillmentActivity
intent fulfills the intent,
Amazon Lex conveys this statement to the user.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.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.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(Date 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(Date 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 $LATEST
version of the intent created or updated.
checksum
- Checksum of the $LATEST
version of the intent created or updated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.