@Generated(value="software.amazon.awssdk:codegen") public final class FollowUpPrompt extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FollowUpPrompt.Builder,FollowUpPrompt>
A prompt for additional activity after an intent is fulfilled. For example, after the OrderPizza intent
is fulfilled, you might prompt the user to find out whether the user wants to order drinks.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FollowUpPrompt.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FollowUpPrompt.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Prompt |
prompt()
Prompts for information from the user.
|
Statement |
rejectionStatement()
If the user answers "no" to the question defined in the
prompt field, Amazon Lex responds with this
statement to acknowledge that the intent was canceled. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FollowUpPrompt.Builder> |
serializableBuilderClass() |
FollowUpPrompt.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Prompt prompt()
Prompts for information from the user.
public final Statement rejectionStatement()
If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this
statement to acknowledge that the intent was canceled.
prompt field, Amazon Lex responds
with this statement to acknowledge that the intent was canceled.public FollowUpPrompt.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FollowUpPrompt.Builder,FollowUpPrompt>public static FollowUpPrompt.Builder builder()
public static Class<? extends FollowUpPrompt.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.