@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserTurnInputSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the user messages in the turn in the input.
Constructor and Description |
---|
UserTurnInputSpecification() |
Modifier and Type | Method and Description |
---|---|
UserTurnInputSpecification |
addRequestAttributesEntry(String key,
String value)
Add a single RequestAttributes entry
|
UserTurnInputSpecification |
clearRequestAttributesEntries()
Removes all the entries added into RequestAttributes.
|
UserTurnInputSpecification |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getRequestAttributes()
Request attributes of the user turn.
|
InputSessionStateSpecification |
getSessionState()
Contains information about the session state in the input.
|
UtteranceInputSpecification |
getUtteranceInput()
The utterance input in the user turn.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRequestAttributes(Map<String,String> requestAttributes)
Request attributes of the user turn.
|
void |
setSessionState(InputSessionStateSpecification sessionState)
Contains information about the session state in the input.
|
void |
setUtteranceInput(UtteranceInputSpecification utteranceInput)
The utterance input in the user turn.
|
String |
toString()
Returns a string representation of this object.
|
UserTurnInputSpecification |
withRequestAttributes(Map<String,String> requestAttributes)
Request attributes of the user turn.
|
UserTurnInputSpecification |
withSessionState(InputSessionStateSpecification sessionState)
Contains information about the session state in the input.
|
UserTurnInputSpecification |
withUtteranceInput(UtteranceInputSpecification utteranceInput)
The utterance input in the user turn.
|
public void setUtteranceInput(UtteranceInputSpecification utteranceInput)
The utterance input in the user turn.
utteranceInput
- The utterance input in the user turn.public UtteranceInputSpecification getUtteranceInput()
The utterance input in the user turn.
public UserTurnInputSpecification withUtteranceInput(UtteranceInputSpecification utteranceInput)
The utterance input in the user turn.
utteranceInput
- The utterance input in the user turn.public Map<String,String> getRequestAttributes()
Request attributes of the user turn.
public void setRequestAttributes(Map<String,String> requestAttributes)
Request attributes of the user turn.
requestAttributes
- Request attributes of the user turn.public UserTurnInputSpecification withRequestAttributes(Map<String,String> requestAttributes)
Request attributes of the user turn.
requestAttributes
- Request attributes of the user turn.public UserTurnInputSpecification addRequestAttributesEntry(String key, String value)
public UserTurnInputSpecification clearRequestAttributesEntries()
public void setSessionState(InputSessionStateSpecification sessionState)
Contains information about the session state in the input.
sessionState
- Contains information about the session state in the input.public InputSessionStateSpecification getSessionState()
Contains information about the session state in the input.
public UserTurnInputSpecification withSessionState(InputSessionStateSpecification sessionState)
Contains information about the session state in the input.
sessionState
- Contains information about the session state in the input.public String toString()
toString
in class Object
Object.toString()
public UserTurnInputSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.