@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) |
Integer |
getAgentPauseDurationInSeconds()
Agent pause duration for a contact in seconds.
|
ParticipantCapabilities |
getCapabilities() |
Date |
getConnectedToAgentTimestamp()
The timestamp when the contact was connected to the agent.
|
DeviceInfo |
getDeviceInfo()
Information regarding Agent’s device.
|
HierarchyGroups |
getHierarchyGroups()
The agent hierarchy groups for 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 |
setAgentPauseDurationInSeconds(Integer agentPauseDurationInSeconds)
Agent pause duration for a contact in seconds.
|
void |
setCapabilities(ParticipantCapabilities capabilities) |
void |
setConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
|
void |
setDeviceInfo(DeviceInfo deviceInfo)
Information regarding Agent’s device.
|
void |
setHierarchyGroups(HierarchyGroups hierarchyGroups)
The agent hierarchy groups for 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 |
withAgentPauseDurationInSeconds(Integer agentPauseDurationInSeconds)
Agent pause duration for a contact in seconds.
|
AgentInfo |
withCapabilities(ParticipantCapabilities capabilities) |
AgentInfo |
withConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
|
AgentInfo |
withDeviceInfo(DeviceInfo deviceInfo)
Information regarding Agent’s device.
|
AgentInfo |
withHierarchyGroups(HierarchyGroups hierarchyGroups)
The agent hierarchy groups for 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 void setAgentPauseDurationInSeconds(Integer agentPauseDurationInSeconds)
Agent pause duration for a contact in seconds.
agentPauseDurationInSeconds
- Agent pause duration for a contact in seconds.public Integer getAgentPauseDurationInSeconds()
Agent pause duration for a contact in seconds.
public AgentInfo withAgentPauseDurationInSeconds(Integer agentPauseDurationInSeconds)
Agent pause duration for a contact in seconds.
agentPauseDurationInSeconds
- Agent pause duration for a contact in seconds.public void setHierarchyGroups(HierarchyGroups hierarchyGroups)
The agent hierarchy groups for the agent.
hierarchyGroups
- The agent hierarchy groups for the agent.public HierarchyGroups getHierarchyGroups()
The agent hierarchy groups for the agent.
public AgentInfo withHierarchyGroups(HierarchyGroups hierarchyGroups)
The agent hierarchy groups for the agent.
hierarchyGroups
- The agent hierarchy groups for the agent.public void setDeviceInfo(DeviceInfo deviceInfo)
Information regarding Agent’s device.
deviceInfo
- Information regarding Agent’s device.public DeviceInfo getDeviceInfo()
Information regarding Agent’s device.
public AgentInfo withDeviceInfo(DeviceInfo deviceInfo)
Information regarding Agent’s device.
deviceInfo
- Information regarding Agent’s device.public void setCapabilities(ParticipantCapabilities capabilities)
capabilities
- public ParticipantCapabilities getCapabilities()
public AgentInfo withCapabilities(ParticipantCapabilities capabilities)
capabilities
- 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.