Interface ContactSearchSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContactSearchSummary.Builder,ContactSearchSummary>,SdkBuilder<ContactSearchSummary.Builder,ContactSearchSummary>,SdkPojo
- Enclosing class:
- ContactSearchSummary
public static interface ContactSearchSummary.Builder extends SdkPojo, CopyableBuilder<ContactSearchSummary.Builder,ContactSearchSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ContactSearchSummary.BuilderagentInfo(Consumer<ContactSearchSummaryAgentInfo.Builder> agentInfo)Information about the agent who accepted the contact.ContactSearchSummary.BuilderagentInfo(ContactSearchSummaryAgentInfo agentInfo)Information about the agent who accepted the contact.ContactSearchSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the contact.ContactSearchSummary.Builderchannel(String channel)How the contact reached your contact center.ContactSearchSummary.Builderchannel(Channel channel)How the contact reached your contact center.ContactSearchSummary.BuilderdisconnectTimestamp(Instant disconnectTimestamp)The timestamp when the customer endpoint disconnected from Amazon Connect.ContactSearchSummary.Builderid(String id)The identifier of the contact summary.ContactSearchSummary.BuilderinitialContactId(String initialContactId)If this contact is related to other contacts, this is the ID of the initial contact.ContactSearchSummary.BuilderinitiationMethod(String initiationMethod)Indicates how the contact was initiated.ContactSearchSummary.BuilderinitiationMethod(ContactInitiationMethod initiationMethod)Indicates how the contact was initiated.ContactSearchSummary.BuilderinitiationTimestamp(Instant initiationTimestamp)The date and time this contact was initiated, in UTC time.ContactSearchSummary.BuilderpreviousContactId(String previousContactId)If this contact is not the first contact, this is the ID of the previous contact.default ContactSearchSummary.BuilderqueueInfo(Consumer<ContactSearchSummaryQueueInfo.Builder> queueInfo)If this contact was queued, this contains information about the queue.ContactSearchSummary.BuilderqueueInfo(ContactSearchSummaryQueueInfo queueInfo)If this contact was queued, this contains information about the queue.ContactSearchSummary.BuilderscheduledTimestamp(Instant scheduledTimestamp)The timestamp, in Unix epoch time format, at which to start running the inbound flow.-
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, sdkFields
-
-
-
-
Method Detail
-
arn
ContactSearchSummary.Builder arn(String 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
ContactSearchSummary.Builder id(String 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
ContactSearchSummary.Builder initialContactId(String 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
ContactSearchSummary.Builder previousContactId(String 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
ContactSearchSummary.Builder initiationMethod(String 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:
ContactInitiationMethod,ContactInitiationMethod
-
initiationMethod
ContactSearchSummary.Builder initiationMethod(ContactInitiationMethod 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:
ContactInitiationMethod,ContactInitiationMethod
-
channel
ContactSearchSummary.Builder channel(String channel)
How the contact reached your contact center.
-
channel
ContactSearchSummary.Builder channel(Channel channel)
How the contact reached your contact center.
-
queueInfo
ContactSearchSummary.Builder queueInfo(ContactSearchSummaryQueueInfo 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.Builderavoiding the need to create one manually viaContactSearchSummaryQueueInfo.builder().When the
Consumercompletes,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:
queueInfo(ContactSearchSummaryQueueInfo)
-
agentInfo
ContactSearchSummary.Builder agentInfo(ContactSearchSummaryAgentInfo 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.Builderavoiding the need to create one manually viaContactSearchSummaryAgentInfo.builder().When the
Consumercompletes,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:
agentInfo(ContactSearchSummaryAgentInfo)
-
initiationTimestamp
ContactSearchSummary.Builder initiationTimestamp(Instant 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. ForTRANSFERandQUEUE_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. ForTRANSFERandQUEUE_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
ContactSearchSummary.Builder disconnectTimestamp(Instant 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
ContactSearchSummary.Builder scheduledTimestamp(Instant 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.
-
-