@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 |
addSegmentAttributesEntry(String key,
SegmentAttributeValue value)
Add a single SegmentAttributes entry
|
Contact |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Contact |
clearSegmentAttributesEntries()
Removes all the entries added into SegmentAttributes.
|
Contact |
clearTagsEntries()
Removes all the entries added into Tags.
|
Contact |
clone() |
boolean |
equals(Object obj) |
AgentInfo |
getAgentInfo()
Information about the agent who accepted the contact.
|
String |
getAnsweringMachineDetectionStatus()
Indicates how an outbound campaign
call is actually disposed if the contact is connected to Amazon Connect.
|
String |
getArn()
The Amazon Resource Name (ARN) for the contact.
|
Campaign |
getCampaign() |
String |
getChannel()
How the contact reached your contact center.
|
Date |
getConnectedToSystemTimestamp()
The timestamp when customer endpoint connected to Amazon Connect.
|
Customer |
getCustomer()
Information about the Customer on the contact.
|
CustomerVoiceActivity |
getCustomerVoiceActivity()
Information about customer’s voice activity.
|
String |
getDescription()
The description of the contact.
|
DisconnectDetails |
getDisconnectDetails()
Information about the call disconnect experience.
|
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 |
getLastPausedTimestamp()
The timestamp when the contact was last paused.
|
Date |
getLastResumedTimestamp()
The timestamp when the contact was last resumed.
|
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.
|
QualityMetrics |
getQualityMetrics()
Information about the quality of the participant's media connection.
|
QueueInfo |
getQueueInfo()
If this contact was queued, this contains information about the queue.
|
Long |
getQueuePriority()
An integer that represents the queue priority to be applied to the contact (lower priorities are routed
preferentially).
|
Integer |
getQueueTimeAdjustmentSeconds()
An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue
time are routed preferentially).
|
String |
getRelatedContactId()
The contactId that is related
to this contact.
|
RoutingCriteria |
getRoutingCriteria()
Latest routing criteria on the contact.
|
Date |
getScheduledTimestamp()
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
|
Map<String,SegmentAttributeValue> |
getSegmentAttributes()
A set of system defined key-value pairs stored on individual contact segments using an attribute map.
|
Map<String,String> |
getTags()
Tags associated with the contact.
|
Integer |
getTotalPauseCount()
Total pause count for a contact.
|
Integer |
getTotalPauseDurationInSeconds()
Total pause duration for a contact in seconds.
|
WisdomInfo |
getWisdomInfo()
Information about Amazon Connect Wisdom.
|
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 |
setAnsweringMachineDetectionStatus(String answeringMachineDetectionStatus)
Indicates how an outbound campaign
call is actually disposed if the contact is connected to Amazon Connect.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the contact.
|
void |
setCampaign(Campaign campaign) |
void |
setChannel(String channel)
How the contact reached your contact center.
|
void |
setConnectedToSystemTimestamp(Date connectedToSystemTimestamp)
The timestamp when customer endpoint connected to Amazon Connect.
|
void |
setCustomer(Customer customer)
Information about the Customer on the contact.
|
void |
setCustomerVoiceActivity(CustomerVoiceActivity customerVoiceActivity)
Information about customer’s voice activity.
|
void |
setDescription(String description)
The description of the contact.
|
void |
setDisconnectDetails(DisconnectDetails disconnectDetails)
Information about the call disconnect experience.
|
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 |
setLastPausedTimestamp(Date lastPausedTimestamp)
The timestamp when the contact was last paused.
|
void |
setLastResumedTimestamp(Date lastResumedTimestamp)
The timestamp when the contact was last resumed.
|
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 |
setQualityMetrics(QualityMetrics qualityMetrics)
Information about the quality of the participant's media connection.
|
void |
setQueueInfo(QueueInfo queueInfo)
If this contact was queued, this contains information about the queue.
|
void |
setQueuePriority(Long queuePriority)
An integer that represents the queue priority to be applied to the contact (lower priorities are routed
preferentially).
|
void |
setQueueTimeAdjustmentSeconds(Integer queueTimeAdjustmentSeconds)
An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue
time are routed preferentially).
|
void |
setRelatedContactId(String relatedContactId)
The contactId that is related
to this contact.
|
void |
setRoutingCriteria(RoutingCriteria routingCriteria)
Latest routing criteria on the contact.
|
void |
setScheduledTimestamp(Date scheduledTimestamp)
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
|
void |
setSegmentAttributes(Map<String,SegmentAttributeValue> segmentAttributes)
A set of system defined key-value pairs stored on individual contact segments using an attribute map.
|
void |
setTags(Map<String,String> tags)
Tags associated with the contact.
|
void |
setTotalPauseCount(Integer totalPauseCount)
Total pause count for a contact.
|
void |
setTotalPauseDurationInSeconds(Integer totalPauseDurationInSeconds)
Total pause duration for a contact in seconds.
|
void |
setWisdomInfo(WisdomInfo wisdomInfo)
Information about Amazon Connect Wisdom.
|
String |
toString()
Returns a string representation of this object.
|
Contact |
withAgentInfo(AgentInfo agentInfo)
Information about the agent who accepted the contact.
|
Contact |
withAnsweringMachineDetectionStatus(AnsweringMachineDetectionStatus answeringMachineDetectionStatus)
Indicates how an outbound campaign
call is actually disposed if the contact is connected to Amazon Connect.
|
Contact |
withAnsweringMachineDetectionStatus(String answeringMachineDetectionStatus)
Indicates how an outbound campaign
call is actually disposed if the contact is connected to Amazon Connect.
|
Contact |
withArn(String arn)
The Amazon Resource Name (ARN) for the contact.
|
Contact |
withCampaign(Campaign campaign) |
Contact |
withChannel(Channel channel)
How the contact reached your contact center.
|
Contact |
withChannel(String channel)
How the contact reached your contact center.
|
Contact |
withConnectedToSystemTimestamp(Date connectedToSystemTimestamp)
The timestamp when customer endpoint connected to Amazon Connect.
|
Contact |
withCustomer(Customer customer)
Information about the Customer on the contact.
|
Contact |
withCustomerVoiceActivity(CustomerVoiceActivity customerVoiceActivity)
Information about customer’s voice activity.
|
Contact |
withDescription(String description)
The description of the contact.
|
Contact |
withDisconnectDetails(DisconnectDetails disconnectDetails)
Information about the call disconnect experience.
|
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 |
withLastPausedTimestamp(Date lastPausedTimestamp)
The timestamp when the contact was last paused.
|
Contact |
withLastResumedTimestamp(Date lastResumedTimestamp)
The timestamp when the contact was last resumed.
|
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 |
withQualityMetrics(QualityMetrics qualityMetrics)
Information about the quality of the participant's media connection.
|
Contact |
withQueueInfo(QueueInfo queueInfo)
If this contact was queued, this contains information about the queue.
|
Contact |
withQueuePriority(Long queuePriority)
An integer that represents the queue priority to be applied to the contact (lower priorities are routed
preferentially).
|
Contact |
withQueueTimeAdjustmentSeconds(Integer queueTimeAdjustmentSeconds)
An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue
time are routed preferentially).
|
Contact |
withRelatedContactId(String relatedContactId)
The contactId that is related
to this contact.
|
Contact |
withRoutingCriteria(RoutingCriteria routingCriteria)
Latest routing criteria on the contact.
|
Contact |
withScheduledTimestamp(Date scheduledTimestamp)
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
|
Contact |
withSegmentAttributes(Map<String,SegmentAttributeValue> segmentAttributes)
A set of system defined key-value pairs stored on individual contact segments using an attribute map.
|
Contact |
withTags(Map<String,String> tags)
Tags associated with the contact.
|
Contact |
withTotalPauseCount(Integer totalPauseCount)
Total pause count for a contact.
|
Contact |
withTotalPauseDurationInSeconds(Integer totalPauseDurationInSeconds)
Total pause duration for a contact in seconds.
|
Contact |
withWisdomInfo(WisdomInfo wisdomInfo)
Information about Amazon Connect Wisdom.
|
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. For
EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For
MONITOR
, this is when the supervisor started listening to a contact.
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. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the
external participant. For MONITOR
, this is when the supervisor started listening to a
contact.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. For
EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For
MONITOR
, this is when the supervisor started listening to a contact.
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. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the
external participant. For MONITOR
, this is when the supervisor started listening to a
contact.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. For
EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For
MONITOR
, this is when the supervisor started listening to a contact.
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. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the
external participant. For MONITOR
, this is when the supervisor started listening to a
contact.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 setLastPausedTimestamp(Date lastPausedTimestamp)
The timestamp when the contact was last paused.
lastPausedTimestamp
- The timestamp when the contact was last paused.public Date getLastPausedTimestamp()
The timestamp when the contact was last paused.
public Contact withLastPausedTimestamp(Date lastPausedTimestamp)
The timestamp when the contact was last paused.
lastPausedTimestamp
- The timestamp when the contact was last paused.public void setLastResumedTimestamp(Date lastResumedTimestamp)
The timestamp when the contact was last resumed.
lastResumedTimestamp
- The timestamp when the contact was last resumed.public Date getLastResumedTimestamp()
The timestamp when the contact was last resumed.
public Contact withLastResumedTimestamp(Date lastResumedTimestamp)
The timestamp when the contact was last resumed.
lastResumedTimestamp
- The timestamp when the contact was last resumed.public void setTotalPauseCount(Integer totalPauseCount)
Total pause count for a contact.
totalPauseCount
- Total pause count for a contact.public Integer getTotalPauseCount()
Total pause count for a contact.
public Contact withTotalPauseCount(Integer totalPauseCount)
Total pause count for a contact.
totalPauseCount
- Total pause count for a contact.public void setTotalPauseDurationInSeconds(Integer totalPauseDurationInSeconds)
Total pause duration for a contact in seconds.
totalPauseDurationInSeconds
- Total pause duration for a contact in seconds.public Integer getTotalPauseDurationInSeconds()
Total pause duration for a contact in seconds.
public Contact withTotalPauseDurationInSeconds(Integer totalPauseDurationInSeconds)
Total pause duration for a contact in seconds.
totalPauseDurationInSeconds
- Total pause duration for a contact in seconds.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 void setRelatedContactId(String relatedContactId)
The contactId that is related to this contact.
relatedContactId
- The contactId that is related to this contact.public String getRelatedContactId()
The contactId that is related to this contact.
public Contact withRelatedContactId(String relatedContactId)
The contactId that is related to this contact.
relatedContactId
- The contactId that is related to this contact.public void setWisdomInfo(WisdomInfo wisdomInfo)
Information about Amazon Connect Wisdom.
wisdomInfo
- Information about Amazon Connect Wisdom.public WisdomInfo getWisdomInfo()
Information about Amazon Connect Wisdom.
public Contact withWisdomInfo(WisdomInfo wisdomInfo)
Information about Amazon Connect Wisdom.
wisdomInfo
- Information about Amazon Connect Wisdom.public void setQueueTimeAdjustmentSeconds(Integer queueTimeAdjustmentSeconds)
An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be statically defined and a valid integer value.
queueTimeAdjustmentSeconds
- An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger
queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be
statically defined and a valid integer value.public Integer getQueueTimeAdjustmentSeconds()
An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be statically defined and a valid integer value.
public Contact withQueueTimeAdjustmentSeconds(Integer queueTimeAdjustmentSeconds)
An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be statically defined and a valid integer value.
queueTimeAdjustmentSeconds
- An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger
queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be
statically defined and a valid integer value.public void setQueuePriority(Long queuePriority)
An integer that represents the queue priority to be applied to the contact (lower priorities are routed preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically defined, must be larger than zero, and a valid integer value. Default Value is 5.
queuePriority
- An integer that represents the queue priority to be applied to the contact (lower priorities are routed
preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically
defined, must be larger than zero, and a valid integer value. Default Value is 5.public Long getQueuePriority()
An integer that represents the queue priority to be applied to the contact (lower priorities are routed preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically defined, must be larger than zero, and a valid integer value. Default Value is 5.
public Contact withQueuePriority(Long queuePriority)
An integer that represents the queue priority to be applied to the contact (lower priorities are routed preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically defined, must be larger than zero, and a valid integer value. Default Value is 5.
queuePriority
- An integer that represents the queue priority to be applied to the contact (lower priorities are routed
preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically
defined, must be larger than zero, and a valid integer value. Default Value is 5.public Map<String,String> getTags()
Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.
public void setTags(Map<String,String> tags)
Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.
tags
- Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.public Contact withTags(Map<String,String> tags)
Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.
tags
- Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.public Contact clearTagsEntries()
public void setConnectedToSystemTimestamp(Date connectedToSystemTimestamp)
The timestamp when customer endpoint connected to Amazon Connect.
connectedToSystemTimestamp
- The timestamp when customer endpoint connected to Amazon Connect.public Date getConnectedToSystemTimestamp()
The timestamp when customer endpoint connected to Amazon Connect.
public Contact withConnectedToSystemTimestamp(Date connectedToSystemTimestamp)
The timestamp when customer endpoint connected to Amazon Connect.
connectedToSystemTimestamp
- The timestamp when customer endpoint connected to Amazon Connect.public void setRoutingCriteria(RoutingCriteria routingCriteria)
Latest routing criteria on the contact.
routingCriteria
- Latest routing criteria on the contact.public RoutingCriteria getRoutingCriteria()
Latest routing criteria on the contact.
public Contact withRoutingCriteria(RoutingCriteria routingCriteria)
Latest routing criteria on the contact.
routingCriteria
- Latest routing criteria on the contact.public void setCustomer(Customer customer)
Information about the Customer on the contact.
customer
- Information about the Customer on the contact.public Customer getCustomer()
Information about the Customer on the contact.
public Contact withCustomer(Customer customer)
Information about the Customer on the contact.
customer
- Information about the Customer on the contact.public void setCampaign(Campaign campaign)
campaign
- public Campaign getCampaign()
public Contact withCampaign(Campaign campaign)
campaign
- public void setAnsweringMachineDetectionStatus(String answeringMachineDetectionStatus)
Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.
answeringMachineDetectionStatus
- Indicates how an outbound
campaign call is actually disposed if the contact is connected to Amazon Connect.AnsweringMachineDetectionStatus
public String getAnsweringMachineDetectionStatus()
Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.
AnsweringMachineDetectionStatus
public Contact withAnsweringMachineDetectionStatus(String answeringMachineDetectionStatus)
Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.
answeringMachineDetectionStatus
- Indicates how an outbound
campaign call is actually disposed if the contact is connected to Amazon Connect.AnsweringMachineDetectionStatus
public Contact withAnsweringMachineDetectionStatus(AnsweringMachineDetectionStatus answeringMachineDetectionStatus)
Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.
answeringMachineDetectionStatus
- Indicates how an outbound
campaign call is actually disposed if the contact is connected to Amazon Connect.AnsweringMachineDetectionStatus
public void setCustomerVoiceActivity(CustomerVoiceActivity customerVoiceActivity)
Information about customer’s voice activity.
customerVoiceActivity
- Information about customer’s voice activity.public CustomerVoiceActivity getCustomerVoiceActivity()
Information about customer’s voice activity.
public Contact withCustomerVoiceActivity(CustomerVoiceActivity customerVoiceActivity)
Information about customer’s voice activity.
customerVoiceActivity
- Information about customer’s voice activity.public void setQualityMetrics(QualityMetrics qualityMetrics)
Information about the quality of the participant's media connection.
qualityMetrics
- Information about the quality of the participant's media connection.public QualityMetrics getQualityMetrics()
Information about the quality of the participant's media connection.
public Contact withQualityMetrics(QualityMetrics qualityMetrics)
Information about the quality of the participant's media connection.
qualityMetrics
- Information about the quality of the participant's media connection.public void setDisconnectDetails(DisconnectDetails disconnectDetails)
Information about the call disconnect experience.
disconnectDetails
- Information about the call disconnect experience.public DisconnectDetails getDisconnectDetails()
Information about the call disconnect experience.
public Contact withDisconnectDetails(DisconnectDetails disconnectDetails)
Information about the call disconnect experience.
disconnectDetails
- Information about the call disconnect experience.public Map<String,SegmentAttributeValue> getSegmentAttributes()
A set of system defined key-value pairs stored on individual contact segments using an attribute map. The
attributes are standard Amazon Connect attributes and can be accessed in flows. Attribute keys can include only
alphanumeric, -, and _ characters. This field can be used to show channel subtype. For example,
connect:Guide
or connect:SMS
.
connect:Guide
or connect:SMS
.public void setSegmentAttributes(Map<String,SegmentAttributeValue> segmentAttributes)
A set of system defined key-value pairs stored on individual contact segments using an attribute map. The
attributes are standard Amazon Connect attributes and can be accessed in flows. Attribute keys can include only
alphanumeric, -, and _ characters. This field can be used to show channel subtype. For example,
connect:Guide
or connect:SMS
.
segmentAttributes
- A set of system defined key-value pairs stored on individual contact segments using an attribute map. The
attributes are standard Amazon Connect attributes and can be accessed in flows. Attribute keys can include
only alphanumeric, -, and _ characters. This field can be used to show channel subtype. For example,
connect:Guide
or connect:SMS
.public Contact withSegmentAttributes(Map<String,SegmentAttributeValue> segmentAttributes)
A set of system defined key-value pairs stored on individual contact segments using an attribute map. The
attributes are standard Amazon Connect attributes and can be accessed in flows. Attribute keys can include only
alphanumeric, -, and _ characters. This field can be used to show channel subtype. For example,
connect:Guide
or connect:SMS
.
segmentAttributes
- A set of system defined key-value pairs stored on individual contact segments using an attribute map. The
attributes are standard Amazon Connect attributes and can be accessed in flows. Attribute keys can include
only alphanumeric, -, and _ characters. This field can be used to show channel subtype. For example,
connect:Guide
or connect:SMS
.public Contact addSegmentAttributesEntry(String key, SegmentAttributeValue value)
public Contact clearSegmentAttributesEntries()
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.