@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TurnSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the messages in the turn.
Constructor and Description |
---|
TurnSpecification() |
Modifier and Type | Method and Description |
---|---|
TurnSpecification |
clone() |
boolean |
equals(Object obj) |
AgentTurnSpecification |
getAgentTurn()
Contains information about the agent messages in the turn.
|
UserTurnSpecification |
getUserTurn()
Contains information about the user messages in the turn.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentTurn(AgentTurnSpecification agentTurn)
Contains information about the agent messages in the turn.
|
void |
setUserTurn(UserTurnSpecification userTurn)
Contains information about the user messages in the turn.
|
String |
toString()
Returns a string representation of this object.
|
TurnSpecification |
withAgentTurn(AgentTurnSpecification agentTurn)
Contains information about the agent messages in the turn.
|
TurnSpecification |
withUserTurn(UserTurnSpecification userTurn)
Contains information about the user messages in the turn.
|
public void setAgentTurn(AgentTurnSpecification agentTurn)
Contains information about the agent messages in the turn.
agentTurn
- Contains information about the agent messages in the turn.public AgentTurnSpecification getAgentTurn()
Contains information about the agent messages in the turn.
public TurnSpecification withAgentTurn(AgentTurnSpecification agentTurn)
Contains information about the agent messages in the turn.
agentTurn
- Contains information about the agent messages in the turn.public void setUserTurn(UserTurnSpecification userTurn)
Contains information about the user messages in the turn.
userTurn
- Contains information about the user messages in the turn.public UserTurnSpecification getUserTurn()
Contains information about the user messages in the turn.
public TurnSpecification withUserTurn(UserTurnSpecification userTurn)
Contains information about the user messages in the turn.
userTurn
- Contains information about the user messages in the turn.public String toString()
toString
in class Object
Object.toString()
public TurnSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.