@Generated(value="software.amazon.awssdk:codegen") public final class IntentConfirmationSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IntentConfirmationSetting.Builder,IntentConfirmationSetting>
Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IntentConfirmationSetting.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
active()
Specifies whether the intent's confirmation is sent to the user.
|
static IntentConfirmationSetting.Builder |
builder() |
ResponseSpecification |
declinationResponse()
When the user answers "no" to the question defined in
promptSpecification, Amazon Lex responds with
this response to acknowledge that the intent was canceled. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PromptSpecification |
promptSpecification()
Prompts the user to confirm the intent.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IntentConfirmationSetting.Builder> |
serializableBuilderClass() |
IntentConfirmationSetting.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final PromptSpecification promptSpecification()
Prompts the user to confirm the intent. This question should have a yes or no answer.
Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. For
example, with the OrderPizza intent, you might want to confirm that the order is correct before
placing it. For other intents, such as intents that simply respond to user questions, you might not need to ask
the user for confirmation before providing the information.
Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for
fulfillment. For example, with the OrderPizza intent, you might want to confirm that the
order is correct before placing it. For other intents, such as intents that simply respond to user
questions, you might not need to ask the user for confirmation before providing the information.
public final ResponseSpecification declinationResponse()
When the user answers "no" to the question defined in promptSpecification, Amazon Lex responds with
this response to acknowledge that the intent was canceled.
promptSpecification, Amazon Lex
responds with this response to acknowledge that the intent was canceled.public final Boolean active()
Specifies whether the intent's confirmation is sent to the user. When this field is false, confirmation and
declination responses aren't sent. If the active field isn't specified, the default is true.
active field isn't specified, the default is
true.public IntentConfirmationSetting.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IntentConfirmationSetting.Builder,IntentConfirmationSetting>public static IntentConfirmationSetting.Builder builder()
public static Class<? extends IntentConfirmationSetting.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.