@Generated(value="software.amazon.awssdk:codegen") public final class Contact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Contact.Builder,Contact>
Contains information about a contact.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Contact.Builder |
| Modifier and Type | Method and Description |
|---|---|
AgentInfo |
agentInfo()
Information about the agent who accepted the contact.
|
String |
arn()
The Amazon Resource Name (ARN) for the contact.
|
static Contact.Builder |
builder() |
Channel |
channel()
How the contact reached your contact center.
|
String |
channelAsString()
How the contact reached your contact center.
|
String |
description()
The description of the contact.
|
Instant |
disconnectTimestamp()
The timestamp when the customer endpoint disconnected from Amazon Connect.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier for the contact.
|
String |
initialContactId()
If this contact is related to other contacts, this is the ID of the initial contact.
|
ContactInitiationMethod |
initiationMethod()
Indicates how the contact was initiated.
|
String |
initiationMethodAsString()
Indicates how the contact was initiated.
|
Instant |
initiationTimestamp()
The date and time this contact was initiated, in UTC time.
|
Instant |
lastUpdateTimestamp()
The timestamp when contact was last updated.
|
String |
name()
The name of the contact.
|
String |
previousContactId()
If this contact is not the first contact, this is the ID of the previous contact.
|
QueueInfo |
queueInfo()
If this contact was queued, this contains information about the queue.
|
String |
relatedContactId()
The contactId that is related
to this contact.
|
Instant |
scheduledTimestamp()
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Contact.Builder> |
serializableBuilderClass() |
Contact.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WisdomInfo |
wisdomInfo()
Information about Amazon Connect Wisdom.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) for the contact.
public final String id()
The identifier for the contact.
public final String initialContactId()
If this contact is related to other contacts, this is the ID of the initial contact.
public final String previousContactId()
If this contact is not the first contact, this is the ID of the previous contact.
public final ContactInitiationMethod initiationMethod()
Indicates how the contact was initiated.
If the service returns an enum value that is not available in the current SDK version, initiationMethod
will return ContactInitiationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from initiationMethodAsString().
ContactInitiationMethodpublic final String initiationMethodAsString()
Indicates how the contact was initiated.
If the service returns an enum value that is not available in the current SDK version, initiationMethod
will return ContactInitiationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from initiationMethodAsString().
ContactInitiationMethodpublic final String name()
The name of the contact.
public final String description()
The description of the contact.
public final Channel channel()
How the contact reached your contact center.
If the service returns an enum value that is not available in the current SDK version, channel will
return Channel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
channelAsString().
Channelpublic final String channelAsString()
How the contact reached your contact center.
If the service returns an enum value that is not available in the current SDK version, channel will
return Channel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
channelAsString().
Channelpublic final QueueInfo queueInfo()
If this contact was queued, this contains information about the queue.
public final AgentInfo agentInfo()
Information about the agent who accepted the contact.
public final Instant 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.
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 final Instant disconnectTimestamp()
The timestamp when the customer endpoint disconnected from Amazon Connect.
public final Instant lastUpdateTimestamp()
The timestamp when contact was last updated.
public final Instant scheduledTimestamp()
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
public final String relatedContactId()
The contactId that is related to this contact.
public final WisdomInfo wisdomInfo()
Information about Amazon Connect Wisdom.
public Contact.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Contact.Builder,Contact>public static Contact.Builder builder()
public static Class<? extends Contact.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.