@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the agent who accepted the contact.
Constructor and Description |
---|
AgentInfo() |
Modifier and Type | Method and Description |
---|---|
AgentInfo |
clone() |
boolean |
equals(Object obj) |
Date |
getConnectedToAgentTimestamp()
The timestamp when the contact was connected to the agent.
|
String |
getId()
The identifier of the agent who accepted the contact.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
|
void |
setId(String id)
The identifier of the agent who accepted the contact.
|
String |
toString()
Returns a string representation of this object.
|
AgentInfo |
withConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
|
AgentInfo |
withId(String id)
The identifier of the agent who accepted the contact.
|
public void setId(String id)
The identifier of the agent who accepted the contact.
id
- The identifier of the agent who accepted the contact.public String getId()
The identifier of the agent who accepted the contact.
public AgentInfo withId(String id)
The identifier of the agent who accepted the contact.
id
- The identifier of the agent who accepted the contact.public void setConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
connectedToAgentTimestamp
- The timestamp when the contact was connected to the agent.public Date getConnectedToAgentTimestamp()
The timestamp when the contact was connected to the agent.
public AgentInfo withConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
connectedToAgentTimestamp
- The timestamp when the contact was connected to the agent.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.