@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Contact extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a contact.
Constructor and Description |
---|
Contact() |
Modifier and Type | Method and Description |
---|---|
Contact |
clone() |
boolean |
equals(Object obj) |
AgentInfo |
getAgentInfo()
Information about the agent who accepted the contact.
|
String |
getArn()
The Amazon Resource Name (ARN) for the contact.
|
String |
getChannel()
How the contact reached your contact center.
|
String |
getDescription()
The description of the contact.
|
Date |
getDisconnectTimestamp()
The timestamp when the customer endpoint disconnected from Amazon Connect.
|
String |
getId()
The identifier for the contact.
|
String |
getInitialContactId()
If this contact is related to other contacts, this is the ID of the initial contact.
|
String |
getInitiationMethod()
Indicates how the contact was initiated.
|
Date |
getInitiationTimestamp()
The date and time this contact was initiated, in UTC time.
|
Date |
getLastUpdateTimestamp()
The timestamp when contact was last updated.
|
String |
getName()
The name of the contact.
|
String |
getPreviousContactId()
If this contact is not the first contact, this is the ID of the previous contact.
|
QueueInfo |
getQueueInfo()
If this contact was queued, this contains information about the queue.
|
Date |
getScheduledTimestamp()
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentInfo(AgentInfo agentInfo)
Information about the agent who accepted the contact.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the contact.
|
void |
setChannel(String channel)
How the contact reached your contact center.
|
void |
setDescription(String description)
The description of the contact.
|
void |
setDisconnectTimestamp(Date disconnectTimestamp)
The timestamp when the customer endpoint disconnected from Amazon Connect.
|
void |
setId(String id)
The identifier for the contact.
|
void |
setInitialContactId(String initialContactId)
If this contact is related to other contacts, this is the ID of the initial contact.
|
void |
setInitiationMethod(String initiationMethod)
Indicates how the contact was initiated.
|
void |
setInitiationTimestamp(Date initiationTimestamp)
The date and time this contact was initiated, in UTC time.
|
void |
setLastUpdateTimestamp(Date lastUpdateTimestamp)
The timestamp when contact was last updated.
|
void |
setName(String name)
The name of the contact.
|
void |
setPreviousContactId(String previousContactId)
If this contact is not the first contact, this is the ID of the previous contact.
|
void |
setQueueInfo(QueueInfo queueInfo)
If this contact was queued, this contains information about the queue.
|
void |
setScheduledTimestamp(Date scheduledTimestamp)
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
|
String |
toString()
Returns a string representation of this object.
|
Contact |
withAgentInfo(AgentInfo agentInfo)
Information about the agent who accepted the contact.
|
Contact |
withArn(String arn)
The Amazon Resource Name (ARN) for the contact.
|
Contact |
withChannel(Channel channel)
How the contact reached your contact center.
|
Contact |
withChannel(String channel)
How the contact reached your contact center.
|
Contact |
withDescription(String description)
The description of the contact.
|
Contact |
withDisconnectTimestamp(Date disconnectTimestamp)
The timestamp when the customer endpoint disconnected from Amazon Connect.
|
Contact |
withId(String id)
The identifier for the contact.
|
Contact |
withInitialContactId(String initialContactId)
If this contact is related to other contacts, this is the ID of the initial contact.
|
Contact |
withInitiationMethod(ContactInitiationMethod initiationMethod)
Indicates how the contact was initiated.
|
Contact |
withInitiationMethod(String initiationMethod)
Indicates how the contact was initiated.
|
Contact |
withInitiationTimestamp(Date initiationTimestamp)
The date and time this contact was initiated, in UTC time.
|
Contact |
withLastUpdateTimestamp(Date lastUpdateTimestamp)
The timestamp when contact was last updated.
|
Contact |
withName(String name)
The name of the contact.
|
Contact |
withPreviousContactId(String previousContactId)
If this contact is not the first contact, this is the ID of the previous contact.
|
Contact |
withQueueInfo(QueueInfo queueInfo)
If this contact was queued, this contains information about the queue.
|
Contact |
withScheduledTimestamp(Date scheduledTimestamp)
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) for the contact.
arn
- The Amazon Resource Name (ARN) for the contact.public String getArn()
The Amazon Resource Name (ARN) for the contact.
public Contact withArn(String arn)
The Amazon Resource Name (ARN) for the contact.
arn
- The Amazon Resource Name (ARN) for the contact.public void setId(String id)
The identifier for the contact.
id
- The identifier for the contact.public String getId()
The identifier for the contact.
public Contact withId(String id)
The identifier for the contact.
id
- The identifier for the contact.public void setInitialContactId(String initialContactId)
If this contact is related to other contacts, this is the ID of the initial contact.
initialContactId
- If this contact is related to other contacts, this is the ID of the initial contact.public String getInitialContactId()
If this contact is related to other contacts, this is the ID of the initial contact.
public Contact withInitialContactId(String initialContactId)
If this contact is related to other contacts, this is the ID of the initial contact.
initialContactId
- If this contact is related to other contacts, this is the ID of the initial contact.public void setPreviousContactId(String previousContactId)
If this contact is not the first contact, this is the ID of the previous contact.
previousContactId
- If this contact is not the first contact, this is the ID of the previous contact.public String getPreviousContactId()
If this contact is not the first contact, this is the ID of the previous contact.
public Contact withPreviousContactId(String previousContactId)
If this contact is not the first contact, this is the ID of the previous contact.
previousContactId
- If this contact is not the first contact, this is the ID of the previous contact.public void setInitiationMethod(String initiationMethod)
Indicates how the contact was initiated.
initiationMethod
- Indicates how the contact was initiated.ContactInitiationMethod
public String getInitiationMethod()
Indicates how the contact was initiated.
ContactInitiationMethod
public Contact withInitiationMethod(String initiationMethod)
Indicates how the contact was initiated.
initiationMethod
- Indicates how the contact was initiated.ContactInitiationMethod
public Contact withInitiationMethod(ContactInitiationMethod initiationMethod)
Indicates how the contact was initiated.
initiationMethod
- Indicates how the contact was initiated.ContactInitiationMethod
public void setName(String name)
The name of the contact.
name
- The name of the contact.public String getName()
The name of the contact.
public Contact withName(String name)
The name of the contact.
name
- The name of the contact.public void setDescription(String description)
The description of the contact.
description
- The description of the contact.public String getDescription()
The description of the contact.
public Contact withDescription(String description)
The description of the contact.
description
- The description of the contact.public void setChannel(String channel)
How the contact reached your contact center.
channel
- How the contact reached your contact center.Channel
public String getChannel()
How the contact reached your contact center.
Channel
public Contact withChannel(String channel)
How the contact reached your contact center.
channel
- How the contact reached your contact center.Channel
public Contact withChannel(Channel channel)
How the contact reached your contact center.
channel
- How the contact reached your contact center.Channel
public void setQueueInfo(QueueInfo queueInfo)
If this contact was queued, this contains information about the queue.
queueInfo
- If this contact was queued, this contains information about the queue.public QueueInfo getQueueInfo()
If this contact was queued, this contains information about the queue.
public Contact withQueueInfo(QueueInfo queueInfo)
If this contact was queued, this contains information about the queue.
queueInfo
- If this contact was queued, this contains information about the queue.public void setAgentInfo(AgentInfo agentInfo)
Information about the agent who accepted the contact.
agentInfo
- Information about the agent who accepted the contact.public AgentInfo getAgentInfo()
Information about the agent who accepted the contact.
public Contact withAgentInfo(AgentInfo agentInfo)
Information about the agent who accepted the contact.
agentInfo
- Information about the agent who accepted the contact.public void setInitiationTimestamp(Date initiationTimestamp)
The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the contact
arrived. For OUTBOUND
, this is when the agent began dialing. For CALLBACK
, this is when
the callback contact was created. For TRANSFER
and QUEUE_TRANSFER
, this is when the
transfer was initiated. For API
, this is when the request arrived.
initiationTimestamp
- The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the
contact arrived. For OUTBOUND
, this is when the agent began dialing. For
CALLBACK
, this is when the callback contact was created. For TRANSFER
and
QUEUE_TRANSFER
, this is when the transfer was initiated. For API
, this is when
the request arrived.public Date getInitiationTimestamp()
The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the contact
arrived. For OUTBOUND
, this is when the agent began dialing. For CALLBACK
, this is when
the callback contact was created. For TRANSFER
and QUEUE_TRANSFER
, this is when the
transfer was initiated. For API
, this is when the request arrived.
INBOUND
, this is when the
contact arrived. For OUTBOUND
, this is when the agent began dialing. For
CALLBACK
, this is when the callback contact was created. For TRANSFER
and
QUEUE_TRANSFER
, this is when the transfer was initiated. For API
, this is when
the request arrived.public Contact withInitiationTimestamp(Date initiationTimestamp)
The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the contact
arrived. For OUTBOUND
, this is when the agent began dialing. For CALLBACK
, this is when
the callback contact was created. For TRANSFER
and QUEUE_TRANSFER
, this is when the
transfer was initiated. For API
, this is when the request arrived.
initiationTimestamp
- The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the
contact arrived. For OUTBOUND
, this is when the agent began dialing. For
CALLBACK
, this is when the callback contact was created. For TRANSFER
and
QUEUE_TRANSFER
, this is when the transfer was initiated. For API
, this is when
the request arrived.public void setDisconnectTimestamp(Date disconnectTimestamp)
The timestamp when the customer endpoint disconnected from Amazon Connect.
disconnectTimestamp
- The timestamp when the customer endpoint disconnected from Amazon Connect.public Date getDisconnectTimestamp()
The timestamp when the customer endpoint disconnected from Amazon Connect.
public Contact withDisconnectTimestamp(Date disconnectTimestamp)
The timestamp when the customer endpoint disconnected from Amazon Connect.
disconnectTimestamp
- The timestamp when the customer endpoint disconnected from Amazon Connect.public void setLastUpdateTimestamp(Date lastUpdateTimestamp)
The timestamp when contact was last updated.
lastUpdateTimestamp
- The timestamp when contact was last updated.public Date getLastUpdateTimestamp()
The timestamp when contact was last updated.
public Contact withLastUpdateTimestamp(Date lastUpdateTimestamp)
The timestamp when contact was last updated.
lastUpdateTimestamp
- The timestamp when contact was last updated.public void setScheduledTimestamp(Date scheduledTimestamp)
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
scheduledTimestamp
- The timestamp, in Unix epoch time format, at which to start running the inbound flow.public Date getScheduledTimestamp()
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
public Contact withScheduledTimestamp(Date scheduledTimestamp)
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
scheduledTimestamp
- The timestamp, in Unix epoch time format, at which to start running the inbound flow.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.