| Package | Description |
|---|---|
| software.amazon.awssdk.services.lexmodelbuilding.model |
| Modifier and Type | Method and Description |
|---|---|
static Prompt.Builder |
Prompt.builder() |
Prompt.Builder |
Prompt.Builder.maxAttempts(Integer maxAttempts)
The number of times to prompt the user for information.
|
Prompt.Builder |
Prompt.Builder.messages(Collection<Message> messages)
An array of objects, each of which provides a message string and its type.
|
Prompt.Builder |
Prompt.Builder.messages(Consumer<Message.Builder>... messages)
An array of objects, each of which provides a message string and its type.
|
Prompt.Builder |
Prompt.Builder.messages(Message... messages)
An array of objects, each of which provides a message string and its type.
|
Prompt.Builder |
Prompt.Builder.responseCard(String responseCard)
A response card.
|
Prompt.Builder |
Prompt.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Prompt.Builder> |
Prompt.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default PutBotRequest.Builder |
PutBotRequest.Builder.clarificationPrompt(Consumer<Prompt.Builder> clarificationPrompt)
When Amazon Lex doesn't understand the user's intent, it uses this message to get clarification.
|
default PutBotResponse.Builder |
PutBotResponse.Builder.clarificationPrompt(Consumer<Prompt.Builder> clarificationPrompt)
The prompts that Amazon Lex uses when it doesn't understand the user's intent.
|
default GetBotResponse.Builder |
GetBotResponse.Builder.clarificationPrompt(Consumer<Prompt.Builder> clarificationPrompt)
The message Amazon Lex uses when it doesn't understand the user's request.
|
default CreateBotVersionResponse.Builder |
CreateBotVersionResponse.Builder.clarificationPrompt(Consumer<Prompt.Builder> clarificationPrompt)
The message that Amazon Lex uses when it doesn't understand the user's request.
|
default CreateIntentVersionResponse.Builder |
CreateIntentVersionResponse.Builder.confirmationPrompt(Consumer<Prompt.Builder> confirmationPrompt)
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
|
default PutIntentRequest.Builder |
PutIntentRequest.Builder.confirmationPrompt(Consumer<Prompt.Builder> confirmationPrompt)
Prompts the user to confirm the intent.
|
default PutIntentResponse.Builder |
PutIntentResponse.Builder.confirmationPrompt(Consumer<Prompt.Builder> confirmationPrompt)
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
|
default GetIntentResponse.Builder |
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.
|
default FollowUpPrompt.Builder |
FollowUpPrompt.Builder.prompt(Consumer<Prompt.Builder> prompt)
Prompts for information from the user.
|
default Slot.Builder |
Slot.Builder.valueElicitationPrompt(Consumer<Prompt.Builder> valueElicitationPrompt)
The prompt that Amazon Lex uses to elicit the slot value from the user.
|
Copyright © 2019. All rights reserved.