@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FollowUpPrompt extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
FollowUpPrompt() |
| Modifier and Type | Method and Description |
|---|---|
FollowUpPrompt |
clone() |
boolean |
equals(Object obj) |
Prompt |
getPrompt()
Prompts for information from the user.
|
Statement |
getRejectionStatement()
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. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPrompt(Prompt prompt)
Prompts for information from the user.
|
void |
setRejectionStatement(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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FollowUpPrompt |
withPrompt(Prompt prompt)
Prompts for information from the user.
|
FollowUpPrompt |
withRejectionStatement(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. |
public void setPrompt(Prompt prompt)
Prompts for information from the user.
prompt - Prompts for information from the user.public Prompt getPrompt()
Prompts for information from the user.
public FollowUpPrompt withPrompt(Prompt prompt)
Prompts for information from the user.
prompt - Prompts for information from the user.public void setRejectionStatement(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.
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.public Statement getRejectionStatement()
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 withRejectionStatement(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.
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.public String toString()
toString in class ObjectObject.toString()public FollowUpPrompt clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.