public static interface Contact.Builder extends SdkPojo, CopyableBuilder<Contact.Builder,Contact>
| Modifier and Type | Method and Description |
|---|---|
Contact.Builder |
agentInfo(AgentInfo agentInfo)
Information about the agent who accepted the contact.
|
default Contact.Builder |
agentInfo(Consumer<AgentInfo.Builder> agentInfo)
Information about the agent who accepted the contact.
|
Contact.Builder |
arn(String arn)
The Amazon Resource Name (ARN) for the contact.
|
Contact.Builder |
channel(Channel channel)
How the contact reached your contact center.
|
Contact.Builder |
channel(String channel)
How the contact reached your contact center.
|
Contact.Builder |
description(String description)
The description of the contact.
|
Contact.Builder |
disconnectTimestamp(Instant disconnectTimestamp)
The timestamp when the customer endpoint disconnected from Amazon Connect.
|
Contact.Builder |
id(String id)
The identifier for the contact.
|
Contact.Builder |
initialContactId(String initialContactId)
If this contact is related to other contacts, this is the ID of the initial contact.
|
Contact.Builder |
initiationMethod(ContactInitiationMethod initiationMethod)
Indicates how the contact was initiated.
|
Contact.Builder |
initiationMethod(String initiationMethod)
Indicates how the contact was initiated.
|
Contact.Builder |
initiationTimestamp(Instant initiationTimestamp)
The date and time this contact was initiated, in UTC time.
|
Contact.Builder |
lastUpdateTimestamp(Instant lastUpdateTimestamp)
The timestamp when contact was last updated.
|
Contact.Builder |
name(String name)
The name of the contact.
|
Contact.Builder |
previousContactId(String previousContactId)
If this contact is not the first contact, this is the ID of the previous contact.
|
default Contact.Builder |
queueInfo(Consumer<QueueInfo.Builder> queueInfo)
If this contact was queued, this contains information about the queue.
|
Contact.Builder |
queueInfo(QueueInfo queueInfo)
If this contact was queued, this contains information about the queue.
|
Contact.Builder |
relatedContactId(String relatedContactId)
The contactId that is related to this contact.
|
Contact.Builder |
scheduledTimestamp(Instant scheduledTimestamp)
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
|
default Contact.Builder |
wisdomInfo(Consumer<WisdomInfo.Builder> wisdomInfo)
Information about Amazon Connect Wisdom.
|
Contact.Builder |
wisdomInfo(WisdomInfo wisdomInfo)
Information about Amazon Connect Wisdom.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContact.Builder arn(String arn)
The Amazon Resource Name (ARN) for the contact.
arn - The Amazon Resource Name (ARN) for the contact.Contact.Builder id(String id)
The identifier for the contact.
id - The identifier for the contact.Contact.Builder initialContactId(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.Contact.Builder previousContactId(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.Contact.Builder initiationMethod(String initiationMethod)
Indicates how the contact was initiated.
initiationMethod - Indicates how the contact was initiated.ContactInitiationMethod,
ContactInitiationMethodContact.Builder initiationMethod(ContactInitiationMethod initiationMethod)
Indicates how the contact was initiated.
initiationMethod - Indicates how the contact was initiated.ContactInitiationMethod,
ContactInitiationMethodContact.Builder name(String name)
The name of the contact.
name - The name of the contact.Contact.Builder description(String description)
The description of the contact.
description - The description of the contact.Contact.Builder channel(String channel)
How the contact reached your contact center.
Contact.Builder channel(Channel channel)
How the contact reached your contact center.
Contact.Builder queueInfo(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.default Contact.Builder queueInfo(Consumer<QueueInfo.Builder> queueInfo)
If this contact was queued, this contains information about the queue.
This is a convenience method that creates an instance of theQueueInfo.Builder avoiding the need to
create one manually via QueueInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to queueInfo(QueueInfo).
queueInfo - a consumer that will call methods on QueueInfo.BuilderqueueInfo(QueueInfo)Contact.Builder agentInfo(AgentInfo agentInfo)
Information about the agent who accepted the contact.
agentInfo - Information about the agent who accepted the contact.default Contact.Builder agentInfo(Consumer<AgentInfo.Builder> agentInfo)
Information about the agent who accepted the contact.
This is a convenience method that creates an instance of theAgentInfo.Builder avoiding the need to
create one manually via AgentInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to agentInfo(AgentInfo).
agentInfo - a consumer that will call methods on AgentInfo.BuilderagentInfo(AgentInfo)Contact.Builder initiationTimestamp(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.
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.Contact.Builder disconnectTimestamp(Instant disconnectTimestamp)
The timestamp when the customer endpoint disconnected from Amazon Connect.
disconnectTimestamp - The timestamp when the customer endpoint disconnected from Amazon Connect.Contact.Builder lastUpdateTimestamp(Instant lastUpdateTimestamp)
The timestamp when contact was last updated.
lastUpdateTimestamp - The timestamp when contact was last updated.Contact.Builder scheduledTimestamp(Instant 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.Contact.Builder relatedContactId(String relatedContactId)
The contactId that is related to this contact.
relatedContactId - The contactId that is related to this contact.Contact.Builder wisdomInfo(WisdomInfo wisdomInfo)
Information about Amazon Connect Wisdom.
wisdomInfo - Information about Amazon Connect Wisdom.default Contact.Builder wisdomInfo(Consumer<WisdomInfo.Builder> wisdomInfo)
Information about Amazon Connect Wisdom.
This is a convenience method that creates an instance of theWisdomInfo.Builder avoiding the need to
create one manually via WisdomInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to wisdomInfo(WisdomInfo).
wisdomInfo - a consumer that will call methods on WisdomInfo.BuilderwisdomInfo(WisdomInfo)Copyright © 2023. All rights reserved.