@Generated(value="software.amazon.awssdk:codegen") public final class DialogAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DialogAction.Builder,DialogAction>
Defines the action that the bot executes at runtime when the conversation reaches this step.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DialogAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DialogAction.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DialogAction.Builder> |
serializableBuilderClass() |
String |
slotToElicit()
If the dialog action is
ElicitSlot, defines the slot to elicit from the user. |
Boolean |
suppressNextMessage()
When true the next message for the intent is not used.
|
DialogAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DialogActionType |
type()
The action that the bot should execute.
|
String |
typeAsString()
The action that the bot should execute.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DialogActionType type()
The action that the bot should execute.
If the service returns an enum value that is not available in the current SDK version, type will return
DialogActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DialogActionTypepublic final String typeAsString()
The action that the bot should execute.
If the service returns an enum value that is not available in the current SDK version, type will return
DialogActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DialogActionTypepublic final String slotToElicit()
If the dialog action is ElicitSlot, defines the slot to elicit from the user.
ElicitSlot, defines the slot to elicit from the user.public final Boolean suppressNextMessage()
When true the next message for the intent is not used.
public DialogAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DialogAction.Builder,DialogAction>public static DialogAction.Builder builder()
public static Class<? extends DialogAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.