public static interface CreateIntentVersionResponse.Builder extends LexModelBuildingResponse.Builder, CopyableBuilder<CreateIntentVersionResponse.Builder,CreateIntentVersionResponse>
Modifier and Type | Method and Description |
---|---|
CreateIntentVersionResponse.Builder |
checksum(String checksum)
Checksum of the intent version created.
|
default CreateIntentVersionResponse.Builder |
conclusionStatement(Consumer<Statement.Builder> conclusionStatement)
After the Lambda function specified in the
fulfillmentActivity field fulfills the intent, Amazon
Lex conveys this statement to the user. |
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. |
default CreateIntentVersionResponse.Builder |
confirmationPrompt(Consumer<Prompt.Builder> confirmationPrompt)
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
|
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(Instant 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.
|
default CreateIntentVersionResponse.Builder |
dialogCodeHook(Consumer<CodeHook.Builder> dialogCodeHook)
If defined, Amazon Lex invokes this Lambda function for each user input.
|
default CreateIntentVersionResponse.Builder |
followUpPrompt(Consumer<FollowUpPrompt.Builder> followUpPrompt)
If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
|
CreateIntentVersionResponse.Builder |
followUpPrompt(FollowUpPrompt followUpPrompt)
If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
|
default CreateIntentVersionResponse.Builder |
fulfillmentActivity(Consumer<FulfillmentActivity.Builder> fulfillmentActivity)
Describes how the intent is fulfilled.
|
CreateIntentVersionResponse.Builder |
fulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled.
|
CreateIntentVersionResponse.Builder |
lastUpdatedDate(Instant 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.
|
default CreateIntentVersionResponse.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. |
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(Collection<String> sampleUtterances)
An array of sample utterances configured for the intent.
|
CreateIntentVersionResponse.Builder |
sampleUtterances(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(Consumer<Slot.Builder>... 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.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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.
slots
- An array of slot types that defines the information required to fulfill the intent.CreateIntentVersionResponse.Builder slots(Consumer<Slot.Builder>... slots)
An array of slot types that defines the information required to fulfill the intent.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #slots(List)
.slots
- a consumer that will call methods on List.Builder
#slots(List)
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.
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.default CreateIntentVersionResponse.Builder confirmationPrompt(Consumer<Prompt.Builder> confirmationPrompt)
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
This is a convenience 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.Builder
confirmationPrompt(Prompt)
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.default CreateIntentVersionResponse.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.Builder
rejectionStatement(Statement)
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.default CreateIntentVersionResponse.Builder followUpPrompt(Consumer<FollowUpPrompt.Builder> followUpPrompt)
If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
This is a convenience 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.Builder
followUpPrompt(FollowUpPrompt)
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.default CreateIntentVersionResponse.Builder conclusionStatement(Consumer<Statement.Builder> conclusionStatement)
After the Lambda function specified in the fulfillmentActivity
field 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.Builder
conclusionStatement(Statement)
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.default CreateIntentVersionResponse.Builder dialogCodeHook(Consumer<CodeHook.Builder> dialogCodeHook)
If defined, Amazon Lex invokes this Lambda function for each user input.
This is a convenience 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.Builder
dialogCodeHook(CodeHook)
CreateIntentVersionResponse.Builder fulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled.
fulfillmentActivity
- Describes how the intent is fulfilled.default CreateIntentVersionResponse.Builder fulfillmentActivity(Consumer<FulfillmentActivity.Builder> fulfillmentActivity)
Describes how the intent is fulfilled.
This is a convenience 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.Builder
fulfillmentActivity(FulfillmentActivity)
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(Instant lastUpdatedDate)
The date that the intent was updated.
lastUpdatedDate
- The date that the intent was updated.CreateIntentVersionResponse.Builder createdDate(Instant 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.