CopyableBuilder<CreateIntentVersionResponse.Builder,CreateIntentVersionResponse>
, SdkBuilder<CreateIntentVersionResponse.Builder,CreateIntentVersionResponse>
public static interface CreateIntentVersionResponse.Builder extends CopyableBuilder<CreateIntentVersionResponse.Builder,CreateIntentVersionResponse>
Modifier and Type | Method | Description |
---|---|---|
CreateIntentVersionResponse.Builder |
checksum(String checksum) |
Checksum of the intent version created.
|
CreateIntentVersionResponse.Builder |
conclusionStatement(Statement conclusionStatement) |
After the Lambda function specified in the
fulfillmentActivity field fulfills the intent, Amazon
Lex conveys this statement to the user. |
CreateIntentVersionResponse.Builder |
confirmationPrompt(Prompt confirmationPrompt) |
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
|
CreateIntentVersionResponse.Builder |
createdDate(Date createdDate) |
The date that the intent was created.
|
CreateIntentVersionResponse.Builder |
description(String description) |
A description of the intent.
|
CreateIntentVersionResponse.Builder |
dialogCodeHook(CodeHook dialogCodeHook) |
If defined, Amazon Lex invokes this Lambda function for each user input.
|
CreateIntentVersionResponse.Builder |
followUpPrompt(FollowUpPrompt followUpPrompt) |
If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
|
CreateIntentVersionResponse.Builder |
fulfillmentActivity(FulfillmentActivity fulfillmentActivity) |
Describes how the intent is fulfilled.
|
CreateIntentVersionResponse.Builder |
lastUpdatedDate(Date lastUpdatedDate) |
The date that the intent was updated.
|
CreateIntentVersionResponse.Builder |
name(String name) |
The name of the intent.
|
CreateIntentVersionResponse.Builder |
parentIntentSignature(String parentIntentSignature) |
A unique identifier for a built-in intent.
|
CreateIntentVersionResponse.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. |
CreateIntentVersionResponse.Builder |
sampleUtterances(String... sampleUtterances) |
An array of sample utterances configured for the intent.
|
CreateIntentVersionResponse.Builder |
sampleUtterances(Collection<String> sampleUtterances) |
An array of sample utterances configured for the intent.
|
CreateIntentVersionResponse.Builder |
slots(Collection<Slot> slots) |
An array of slot types that defines the information required to fulfill the intent.
|
CreateIntentVersionResponse.Builder |
slots(Slot... slots) |
An array of slot types that defines the information required to fulfill the intent.
|
CreateIntentVersionResponse.Builder |
version(String version) |
The version number assigned to the new version of the intent.
|
copy
apply, build
CreateIntentVersionResponse.Builder name(String name)
The name of the intent.
name
- The name of the intent.CreateIntentVersionResponse.Builder description(String description)
A description of the intent.
description
- A description of the intent.CreateIntentVersionResponse.Builder slots(Collection<Slot> slots)
An array of slot types that defines the information required to fulfill the intent.
slots
- An array of slot types that defines the information required to fulfill the intent.CreateIntentVersionResponse.Builder slots(Slot... slots)
An array of slot types that defines the information required to fulfill 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 slot types that defines the information required to fulfill the intent.CreateIntentVersionResponse.Builder sampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances configured for the intent.
sampleUtterances
- An array of sample utterances configured for the intent.CreateIntentVersionResponse.Builder sampleUtterances(String... sampleUtterances)
An array of sample utterances 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 configured for the intent.CreateIntentVersionResponse.Builder confirmationPrompt(Prompt confirmationPrompt)
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
confirmationPrompt
- If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.CreateIntentVersionResponse.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.CreateIntentVersionResponse.Builder followUpPrompt(FollowUpPrompt followUpPrompt)
If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
followUpPrompt
- If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.CreateIntentVersionResponse.Builder conclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the fulfillmentActivity
field fulfills the intent, Amazon
Lex conveys this statement to the user.
conclusionStatement
- After the Lambda function specified in the fulfillmentActivity
field fulfills the intent,
Amazon Lex conveys this statement to the user.CreateIntentVersionResponse.Builder dialogCodeHook(CodeHook dialogCodeHook)
If defined, Amazon Lex invokes this Lambda function for each user input.
dialogCodeHook
- If defined, Amazon Lex invokes this Lambda function for each user input.CreateIntentVersionResponse.Builder fulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled.
fulfillmentActivity
- Describes how the intent is fulfilled.CreateIntentVersionResponse.Builder parentIntentSignature(String parentIntentSignature)
A unique identifier for a built-in intent.
parentIntentSignature
- A unique identifier for a built-in intent.CreateIntentVersionResponse.Builder lastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
lastUpdatedDate
- The date that the intent was updated.CreateIntentVersionResponse.Builder createdDate(Date createdDate)
The date that the intent was created.
createdDate
- The date that the intent was created.CreateIntentVersionResponse.Builder version(String version)
The version number assigned to the new version of the intent.
version
- The version number assigned to the new version of the intent.CreateIntentVersionResponse.Builder checksum(String checksum)
Checksum of the intent version created.
checksum
- Checksum of the intent version created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.