public static interface GetIntentResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetIntentResponse.Builder,GetIntentResponse>
Modifier and Type | Method and Description |
---|---|
GetIntentResponse.Builder |
checksum(String checksum)
Checksum of the intent.
|
default GetIntentResponse.Builder |
conclusionStatement(Consumer<Statement.Builder> conclusionStatement)
After the Lambda function specified in the
fulfillmentActivity element fulfills the intent,
Amazon Lex conveys this statement to the user. |
GetIntentResponse.Builder |
conclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the
fulfillmentActivity element fulfills the intent,
Amazon Lex conveys this statement to the user. |
default GetIntentResponse.Builder |
confirmationPrompt(Consumer<Prompt.Builder> confirmationPrompt)
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request.
|
GetIntentResponse.Builder |
confirmationPrompt(Prompt confirmationPrompt)
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request.
|
GetIntentResponse.Builder |
createdDate(Instant createdDate)
The date that the intent was created.
|
GetIntentResponse.Builder |
description(String description)
A description of the intent.
|
GetIntentResponse.Builder |
dialogCodeHook(CodeHook dialogCodeHook)
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input.
|
default GetIntentResponse.Builder |
dialogCodeHook(Consumer<CodeHook.Builder> dialogCodeHook)
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input.
|
default GetIntentResponse.Builder |
followUpPrompt(Consumer<FollowUpPrompt.Builder> followUpPrompt)
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
GetIntentResponse.Builder |
followUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
default GetIntentResponse.Builder |
fulfillmentActivity(Consumer<FulfillmentActivity.Builder> fulfillmentActivity)
Describes how the intent is fulfilled.
|
GetIntentResponse.Builder |
fulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled.
|
GetIntentResponse.Builder |
lastUpdatedDate(Instant lastUpdatedDate)
The date that the intent was updated.
|
GetIntentResponse.Builder |
name(String name)
The name of the intent.
|
GetIntentResponse.Builder |
parentIntentSignature(String parentIntentSignature)
A unique identifier for a built-in intent.
|
default GetIntentResponse.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. |
GetIntentResponse.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. |
GetIntentResponse.Builder |
sampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances configured for the intent.
|
GetIntentResponse.Builder |
sampleUtterances(String... sampleUtterances)
An array of sample utterances configured for the intent.
|
GetIntentResponse.Builder |
slots(Collection<Slot> slots)
An array of intent slots configured for the intent.
|
GetIntentResponse.Builder |
slots(Consumer<Slot.Builder>... slots)
An array of intent slots configured for the intent.
|
GetIntentResponse.Builder |
slots(Slot... slots)
An array of intent slots configured for the intent.
|
GetIntentResponse.Builder |
version(String version)
The version of the intent.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetIntentResponse.Builder name(String name)
The name of the intent.
name
- The name of the intent.GetIntentResponse.Builder description(String description)
A description of the intent.
description
- A description of the intent.GetIntentResponse.Builder slots(Collection<Slot> slots)
An array of intent slots configured for the intent.
slots
- An array of intent slots configured for the intent.GetIntentResponse.Builder slots(Slot... slots)
An array of intent slots configured for the intent.
slots
- An array of intent slots configured for the intent.GetIntentResponse.Builder slots(Consumer<Slot.Builder>... slots)
An array of intent slots configured for 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)
GetIntentResponse.Builder sampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances configured for the intent.
sampleUtterances
- An array of sample utterances configured for the intent.GetIntentResponse.Builder sampleUtterances(String... sampleUtterances)
An array of sample utterances configured for the intent.
sampleUtterances
- An array of sample utterances configured for the intent.GetIntentResponse.Builder confirmationPrompt(Prompt confirmationPrompt)
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see PutIntent.
confirmationPrompt
- If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's
request. For more information, see PutIntent.default GetIntentResponse.Builder confirmationPrompt(Consumer<Prompt.Builder> confirmationPrompt)
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see PutIntent.
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)
GetIntentResponse.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 GetIntentResponse.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)
GetIntentResponse.Builder followUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see PutIntent.
followUpPrompt
- If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the
intent is fulfilled. For more information, see PutIntent.default GetIntentResponse.Builder followUpPrompt(Consumer<FollowUpPrompt.Builder> followUpPrompt)
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see PutIntent.
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)
GetIntentResponse.Builder conclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the fulfillmentActivity
element fulfills the intent,
Amazon Lex conveys this statement to the user.
conclusionStatement
- After the Lambda function specified in the fulfillmentActivity
element fulfills the
intent, Amazon Lex conveys this statement to the user.default GetIntentResponse.Builder conclusionStatement(Consumer<Statement.Builder> conclusionStatement)
After the Lambda function specified in the fulfillmentActivity
element 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)
GetIntentResponse.Builder dialogCodeHook(CodeHook dialogCodeHook)
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see PutIntent.
dialogCodeHook
- If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more
information, see PutIntent.default GetIntentResponse.Builder dialogCodeHook(Consumer<CodeHook.Builder> dialogCodeHook)
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see PutIntent.
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)
GetIntentResponse.Builder fulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled. For more information, see PutIntent.
fulfillmentActivity
- Describes how the intent is fulfilled. For more information, see PutIntent.default GetIntentResponse.Builder fulfillmentActivity(Consumer<FulfillmentActivity.Builder> fulfillmentActivity)
Describes how the intent is fulfilled. For more information, see PutIntent.
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)
GetIntentResponse.Builder parentIntentSignature(String parentIntentSignature)
A unique identifier for a built-in intent.
parentIntentSignature
- A unique identifier for a built-in intent.GetIntentResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The date that the intent was updated. When you create a resource, the creation date and the last updated date are the same.
lastUpdatedDate
- The date that the intent was updated. When you create a resource, the creation date and the last
updated date are the same.GetIntentResponse.Builder createdDate(Instant createdDate)
The date that the intent was created.
createdDate
- The date that the intent was created.GetIntentResponse.Builder version(String version)
The version of the intent.
version
- The version of the intent.GetIntentResponse.Builder checksum(String checksum)
Checksum of the intent.
checksum
- Checksum of the intent.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.