Interface ContactSearchSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContactSearchSummary.Builder,
,ContactSearchSummary> SdkBuilder<ContactSearchSummary.Builder,
,ContactSearchSummary> SdkPojo
- Enclosing class:
ContactSearchSummary
-
Method Summary
Modifier and TypeMethodDescriptiondefault ContactSearchSummary.Builder
agentInfo
(Consumer<ContactSearchSummaryAgentInfo.Builder> agentInfo) Information about the agent who accepted the contact.agentInfo
(ContactSearchSummaryAgentInfo agentInfo) Information about the agent who accepted the contact.The Amazon Resource Name (ARN) of the contact.How the contact reached your contact center.How the contact reached your contact center.disconnectTimestamp
(Instant disconnectTimestamp) The timestamp when the customer endpoint disconnected from Amazon Connect.The identifier of the contact summary.initialContactId
(String initialContactId) If this contact is related to other contacts, this is the ID of the initial contact.initiationMethod
(String initiationMethod) Indicates how the contact was initiated.initiationMethod
(ContactInitiationMethod initiationMethod) Indicates how the contact was initiated.initiationTimestamp
(Instant initiationTimestamp) The date and time this contact was initiated, in UTC time.previousContactId
(String previousContactId) If this contact is not the first contact, this is the ID of the previous contact.default ContactSearchSummary.Builder
queueInfo
(Consumer<ContactSearchSummaryQueueInfo.Builder> queueInfo) If this contact was queued, this contains information about the queue.queueInfo
(ContactSearchSummaryQueueInfo queueInfo) If this contact was queued, this contains information about the queue.scheduledTimestamp
(Instant scheduledTimestamp) The timestamp, in Unix epoch time format, at which to start running the inbound flow.segmentAttributes
(Map<String, ContactSearchSummarySegmentAttributeValue> segmentAttributes) Set of segment attributes for a contact.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the contact.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The identifier of the contact summary.
- Parameters:
id
- The identifier of the contact summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialContactId
If this contact is related to other contacts, this is the ID of the initial contact.
- Parameters:
initialContactId
- If this contact is related to other contacts, this is the ID of the initial contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previousContactId
If this contact is not the first contact, this is the ID of the previous contact.
- Parameters:
previousContactId
- If this contact is not the first contact, this is the ID of the previous contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initiationMethod
Indicates how the contact was initiated.
- Parameters:
initiationMethod
- Indicates how the contact was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initiationMethod
Indicates how the contact was initiated.
- Parameters:
initiationMethod
- Indicates how the contact was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channel
How the contact reached your contact center.
- Parameters:
channel
- How the contact reached your contact center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channel
How the contact reached your contact center.
- Parameters:
channel
- How the contact reached your contact center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queueInfo
If this contact was queued, this contains information about the queue.
- Parameters:
queueInfo
- If this contact was queued, this contains information about the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueInfo
default ContactSearchSummary.Builder queueInfo(Consumer<ContactSearchSummaryQueueInfo.Builder> queueInfo) If this contact was queued, this contains information about the queue.
This is a convenience method that creates an instance of theContactSearchSummaryQueueInfo.Builder
avoiding the need to create one manually viaContactSearchSummaryQueueInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueueInfo(ContactSearchSummaryQueueInfo)
.- Parameters:
queueInfo
- a consumer that will call methods onContactSearchSummaryQueueInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentInfo
Information about the agent who accepted the contact.
- Parameters:
agentInfo
- Information about the agent who accepted the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentInfo
default ContactSearchSummary.Builder agentInfo(Consumer<ContactSearchSummaryAgentInfo.Builder> agentInfo) Information about the agent who accepted the contact.
This is a convenience method that creates an instance of theContactSearchSummaryAgentInfo.Builder
avoiding the need to create one manually viaContactSearchSummaryAgentInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentInfo(ContactSearchSummaryAgentInfo)
.- Parameters:
agentInfo
- a consumer that will call methods onContactSearchSummaryAgentInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initiationTimestamp
The date and time this contact was initiated, in UTC time. For
INBOUND
, this is when the contact arrived. ForOUTBOUND
, this is when the agent began dialing. ForCALLBACK
, this is when the callback contact was created. ForTRANSFER
andQUEUE_TRANSFER
, this is when the transfer was initiated. For API, this is when the request arrived. ForEXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. ForMONITOR
, this is when the supervisor started listening to a contact.- Parameters:
initiationTimestamp
- The date and time this contact was initiated, in UTC time. ForINBOUND
, this is when the contact arrived. ForOUTBOUND
, this is when the agent began dialing. ForCALLBACK
, this is when the callback contact was created. ForTRANSFER
andQUEUE_TRANSFER
, this is when the transfer was initiated. For API, this is when the request arrived. ForEXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. ForMONITOR
, this is when the supervisor started listening to a contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disconnectTimestamp
The timestamp when the customer endpoint disconnected from Amazon Connect.
- Parameters:
disconnectTimestamp
- The timestamp when the customer endpoint disconnected from Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledTimestamp
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
- Parameters:
scheduledTimestamp
- The timestamp, in Unix epoch time format, at which to start running the inbound flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentAttributes
ContactSearchSummary.Builder segmentAttributes(Map<String, ContactSearchSummarySegmentAttributeValue> segmentAttributes) Set of segment attributes for a contact.
- Parameters:
segmentAttributes
- Set of segment attributes for a contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-