@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DialogAction extends Object implements Serializable, Cloneable, StructuredPojo
Defines the action that the bot executes at runtime when the conversation reaches this step.
Constructor and Description |
---|
DialogAction() |
Modifier and Type | Method and Description |
---|---|
DialogAction |
clone() |
boolean |
equals(Object obj) |
String |
getSlotToElicit()
If the dialog action is
ElicitSlot , defines the slot to elicit from the user. |
Boolean |
getSuppressNextMessage()
When true the next message for the intent is not used.
|
String |
getType()
The action that the bot should execute.
|
int |
hashCode() |
Boolean |
isSuppressNextMessage()
When true the next message for the intent is not used.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSlotToElicit(String slotToElicit)
If the dialog action is
ElicitSlot , defines the slot to elicit from the user. |
void |
setSuppressNextMessage(Boolean suppressNextMessage)
When true the next message for the intent is not used.
|
void |
setType(String type)
The action that the bot should execute.
|
String |
toString()
Returns a string representation of this object.
|
DialogAction |
withSlotToElicit(String slotToElicit)
If the dialog action is
ElicitSlot , defines the slot to elicit from the user. |
DialogAction |
withSuppressNextMessage(Boolean suppressNextMessage)
When true the next message for the intent is not used.
|
DialogAction |
withType(DialogActionType type)
The action that the bot should execute.
|
DialogAction |
withType(String type)
The action that the bot should execute.
|
public void setType(String type)
The action that the bot should execute.
type
- The action that the bot should execute.DialogActionType
public String getType()
The action that the bot should execute.
DialogActionType
public DialogAction withType(String type)
The action that the bot should execute.
type
- The action that the bot should execute.DialogActionType
public DialogAction withType(DialogActionType type)
The action that the bot should execute.
type
- The action that the bot should execute.DialogActionType
public void setSlotToElicit(String slotToElicit)
If the dialog action is ElicitSlot
, defines the slot to elicit from the user.
slotToElicit
- If the dialog action is ElicitSlot
, defines the slot to elicit from the user.public String getSlotToElicit()
If the dialog action is ElicitSlot
, defines the slot to elicit from the user.
ElicitSlot
, defines the slot to elicit from the user.public DialogAction withSlotToElicit(String slotToElicit)
If the dialog action is ElicitSlot
, defines the slot to elicit from the user.
slotToElicit
- If the dialog action is ElicitSlot
, defines the slot to elicit from the user.public void setSuppressNextMessage(Boolean suppressNextMessage)
When true the next message for the intent is not used.
suppressNextMessage
- When true the next message for the intent is not used.public Boolean getSuppressNextMessage()
When true the next message for the intent is not used.
public DialogAction withSuppressNextMessage(Boolean suppressNextMessage)
When true the next message for the intent is not used.
suppressNextMessage
- When true the next message for the intent is not used.public Boolean isSuppressNextMessage()
When true the next message for the intent is not used.
public String toString()
toString
in class Object
Object.toString()
public DialogAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.