@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputSessionStateSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Specifications for the current state of the dialog between the user and the bot in the test set.
| Constructor and Description |
|---|
InputSessionStateSpecification() |
| Modifier and Type | Method and Description |
|---|---|
InputSessionStateSpecification |
addSessionAttributesEntry(String key,
String value)
Add a single SessionAttributes entry
|
InputSessionStateSpecification |
clearSessionAttributesEntries()
Removes all the entries added into SessionAttributes.
|
InputSessionStateSpecification |
clone() |
boolean |
equals(Object obj) |
List<ActiveContext> |
getActiveContexts()
Active contexts for the session state.
|
RuntimeHints |
getRuntimeHints()
Runtime hints for the session state.
|
Map<String,String> |
getSessionAttributes()
Session attributes for the session state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActiveContexts(Collection<ActiveContext> activeContexts)
Active contexts for the session state.
|
void |
setRuntimeHints(RuntimeHints runtimeHints)
Runtime hints for the session state.
|
void |
setSessionAttributes(Map<String,String> sessionAttributes)
Session attributes for the session state.
|
String |
toString()
Returns a string representation of this object.
|
InputSessionStateSpecification |
withActiveContexts(ActiveContext... activeContexts)
Active contexts for the session state.
|
InputSessionStateSpecification |
withActiveContexts(Collection<ActiveContext> activeContexts)
Active contexts for the session state.
|
InputSessionStateSpecification |
withRuntimeHints(RuntimeHints runtimeHints)
Runtime hints for the session state.
|
InputSessionStateSpecification |
withSessionAttributes(Map<String,String> sessionAttributes)
Session attributes for the session state.
|
public Map<String,String> getSessionAttributes()
Session attributes for the session state.
public void setSessionAttributes(Map<String,String> sessionAttributes)
Session attributes for the session state.
sessionAttributes - Session attributes for the session state.public InputSessionStateSpecification withSessionAttributes(Map<String,String> sessionAttributes)
Session attributes for the session state.
sessionAttributes - Session attributes for the session state.public InputSessionStateSpecification addSessionAttributesEntry(String key, String value)
public InputSessionStateSpecification clearSessionAttributesEntries()
public List<ActiveContext> getActiveContexts()
Active contexts for the session state.
public void setActiveContexts(Collection<ActiveContext> activeContexts)
Active contexts for the session state.
activeContexts - Active contexts for the session state.public InputSessionStateSpecification withActiveContexts(ActiveContext... activeContexts)
Active contexts for the session state.
NOTE: This method appends the values to the existing list (if any). Use
setActiveContexts(java.util.Collection) or withActiveContexts(java.util.Collection) if you want
to override the existing values.
activeContexts - Active contexts for the session state.public InputSessionStateSpecification withActiveContexts(Collection<ActiveContext> activeContexts)
Active contexts for the session state.
activeContexts - Active contexts for the session state.public void setRuntimeHints(RuntimeHints runtimeHints)
Runtime hints for the session state.
runtimeHints - Runtime hints for the session state.public RuntimeHints getRuntimeHints()
Runtime hints for the session state.
public InputSessionStateSpecification withRuntimeHints(RuntimeHints runtimeHints)
Runtime hints for the session state.
runtimeHints - Runtime hints for the session state.public String toString()
toString in class ObjectObject.toString()public InputSessionStateSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.