@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DialogState extends Object implements Serializable, Cloneable, StructuredPojo
The current state of the conversation with the user.
| Constructor and Description |
|---|
DialogState() |
| Modifier and Type | Method and Description |
|---|---|
DialogState |
addSessionAttributesEntry(String key,
String value)
Add a single SessionAttributes entry
|
DialogState |
clearSessionAttributesEntries()
Removes all the entries added into SessionAttributes.
|
DialogState |
clone() |
boolean |
equals(Object obj) |
DialogAction |
getDialogAction() |
IntentOverride |
getIntent() |
Map<String,String> |
getSessionAttributes()
Map of key/value pairs representing session-specific context information.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDialogAction(DialogAction dialogAction) |
void |
setIntent(IntentOverride intent) |
void |
setSessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing session-specific context information.
|
String |
toString()
Returns a string representation of this object.
|
DialogState |
withDialogAction(DialogAction dialogAction) |
DialogState |
withIntent(IntentOverride intent) |
DialogState |
withSessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing session-specific context information.
|
public void setDialogAction(DialogAction dialogAction)
dialogAction - public DialogAction getDialogAction()
public DialogState withDialogAction(DialogAction dialogAction)
dialogAction - public void setIntent(IntentOverride intent)
intent - public IntentOverride getIntent()
public DialogState withIntent(IntentOverride intent)
intent - public Map<String,String> getSessionAttributes()
Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
public void setSessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
sessionAttributes - Map of key/value pairs representing session-specific context information. It contains application
information passed between Amazon Lex and a client application.public DialogState withSessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
sessionAttributes - Map of key/value pairs representing session-specific context information. It contains application
information passed between Amazon Lex and a client application.public DialogState addSessionAttributesEntry(String key, String value)
public DialogState clearSessionAttributesEntries()
public String toString()
toString in class ObjectObject.toString()public DialogState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.