@Generated(value="software.amazon.awssdk:codegen") public class FollowUpPrompt extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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. |
static Class<? extends FollowUpPrompt.Builder> |
serializableBuilderClass() |
FollowUpPrompt.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Prompt prompt()
Prompts for information from the user.
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FollowUpPrompt.Builder,FollowUpPrompt>
public static FollowUpPrompt.Builder builder()
public static Class<? extends FollowUpPrompt.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.