Class FollowUpPrompt
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelbuilding.model.FollowUpPrompt
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FollowUpPrompt.Builder,FollowUpPrompt>
@Generated("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
OrderPizzaintent is fulfilled, you might prompt the user to find out whether the user wants to order drinks.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFollowUpPrompt.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FollowUpPrompt.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Promptprompt()Prompts for information from the user.StatementrejectionStatement()If the user answers "no" to the question defined in thepromptfield, Amazon Lex responds with this statement to acknowledge that the intent was canceled.List<SdkField<?>>sdkFields()static Class<? extends FollowUpPrompt.Builder>serializableBuilderClass()FollowUpPrompt.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
prompt
public final Prompt prompt()
Prompts for information from the user.
- Returns:
- Prompts for information from the user.
-
rejectionStatement
public final Statement rejectionStatement()
If the user answers "no" to the question defined in the
promptfield, Amazon Lex responds with this statement to acknowledge that the intent was canceled.- Returns:
- If the user answers "no" to the question defined in the
promptfield, Amazon Lex responds with this statement to acknowledge that the intent was canceled.
-
toBuilder
public FollowUpPrompt.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FollowUpPrompt.Builder,FollowUpPrompt>
-
builder
public static FollowUpPrompt.Builder builder()
-
serializableBuilderClass
public static Class<? extends FollowUpPrompt.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-