@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentContactReference extends Object implements Serializable, Cloneable, StructuredPojo
Information about the contact associated to the user.
| Constructor and Description |
|---|
AgentContactReference() |
| Modifier and Type | Method and Description |
|---|---|
AgentContactReference |
clone() |
boolean |
equals(Object obj) |
String |
getAgentContactState()
The state of the
contact.
|
String |
getChannel()
The channel of the contact.
|
Date |
getConnectedToAgentTimestamp()
The time at which the contact was connected to an agent.
|
String |
getContactId()
The identifier of the contact in this instance of Amazon Connect.
|
String |
getInitiationMethod()
How the contact was initiated.
|
QueueReference |
getQueue() |
Date |
getStateStartTimestamp()
The epoch timestamp when the contact state started.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAgentContactState(String agentContactState)
The state of the
contact.
|
void |
setChannel(String channel)
The channel of the contact.
|
void |
setConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The time at which the contact was connected to an agent.
|
void |
setContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
void |
setInitiationMethod(String initiationMethod)
How the contact was initiated.
|
void |
setQueue(QueueReference queue) |
void |
setStateStartTimestamp(Date stateStartTimestamp)
The epoch timestamp when the contact state started.
|
String |
toString()
Returns a string representation of this object.
|
AgentContactReference |
withAgentContactState(ContactState agentContactState)
The state of the
contact.
|
AgentContactReference |
withAgentContactState(String agentContactState)
The state of the
contact.
|
AgentContactReference |
withChannel(Channel channel)
The channel of the contact.
|
AgentContactReference |
withChannel(String channel)
The channel of the contact.
|
AgentContactReference |
withConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The time at which the contact was connected to an agent.
|
AgentContactReference |
withContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
AgentContactReference |
withInitiationMethod(ContactInitiationMethod initiationMethod)
How the contact was initiated.
|
AgentContactReference |
withInitiationMethod(String initiationMethod)
How the contact was initiated.
|
AgentContactReference |
withQueue(QueueReference queue) |
AgentContactReference |
withStateStartTimestamp(Date stateStartTimestamp)
The epoch timestamp when the contact state started.
|
public void setContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
contactId - The identifier of the contact in this instance of Amazon Connect.public String getContactId()
The identifier of the contact in this instance of Amazon Connect.
public AgentContactReference withContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
contactId - The identifier of the contact in this instance of Amazon Connect.public void setChannel(String channel)
The channel of the contact.
channel - The channel of the contact.Channelpublic String getChannel()
The channel of the contact.
Channelpublic AgentContactReference withChannel(String channel)
The channel of the contact.
channel - The channel of the contact.Channelpublic AgentContactReference withChannel(Channel channel)
The channel of the contact.
channel - The channel of the contact.Channelpublic void setInitiationMethod(String initiationMethod)
How the contact was initiated.
initiationMethod - How the contact was initiated.ContactInitiationMethodpublic String getInitiationMethod()
How the contact was initiated.
ContactInitiationMethodpublic AgentContactReference withInitiationMethod(String initiationMethod)
How the contact was initiated.
initiationMethod - How the contact was initiated.ContactInitiationMethodpublic AgentContactReference withInitiationMethod(ContactInitiationMethod initiationMethod)
How the contact was initiated.
initiationMethod - How the contact was initiated.ContactInitiationMethodpublic void setAgentContactState(String agentContactState)
The state of the contact.
When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is
not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED
to the agent.
agentContactState - The state of the
contact.
When AgentContactState is set to CONNECTED_ONHOLD,
StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the
time the contact was CONNECTED to the agent.
ContactStatepublic String getAgentContactState()
The state of the contact.
When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is
not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED
to the agent.
When AgentContactState is set to CONNECTED_ONHOLD,
StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the
time the contact was CONNECTED to the agent.
ContactStatepublic AgentContactReference withAgentContactState(String agentContactState)
The state of the contact.
When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is
not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED
to the agent.
agentContactState - The state of the
contact.
When AgentContactState is set to CONNECTED_ONHOLD,
StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the
time the contact was CONNECTED to the agent.
ContactStatepublic AgentContactReference withAgentContactState(ContactState agentContactState)
The state of the contact.
When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is
not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED
to the agent.
agentContactState - The state of the
contact.
When AgentContactState is set to CONNECTED_ONHOLD,
StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the
time the contact was CONNECTED to the agent.
ContactStatepublic void setStateStartTimestamp(Date stateStartTimestamp)
The epoch timestamp when the contact state started.
stateStartTimestamp - The epoch timestamp when the contact state started.public Date getStateStartTimestamp()
The epoch timestamp when the contact state started.
public AgentContactReference withStateStartTimestamp(Date stateStartTimestamp)
The epoch timestamp when the contact state started.
stateStartTimestamp - The epoch timestamp when the contact state started.public void setConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The time at which the contact was connected to an agent.
connectedToAgentTimestamp - The time at which the contact was connected to an agent.public Date getConnectedToAgentTimestamp()
The time at which the contact was connected to an agent.
public AgentContactReference withConnectedToAgentTimestamp(Date connectedToAgentTimestamp)
The time at which the contact was connected to an agent.
connectedToAgentTimestamp - The time at which the contact was connected to an agent.public void setQueue(QueueReference queue)
queue - public QueueReference getQueue()
public AgentContactReference withQueue(QueueReference queue)
queue - public String toString()
toString in class ObjectObject.toString()public AgentContactReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.