Interface Contact.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Contact.Builder,
,Contact> SdkBuilder<Contact.Builder,
,Contact> SdkPojo
- Enclosing class:
Contact
-
Method Summary
Modifier and TypeMethodDescriptiondefault Contact.Builder
additionalEmailRecipients
(Consumer<AdditionalEmailRecipients.Builder> additionalEmailRecipients) List of additional email addresses for an email contact.additionalEmailRecipients
(AdditionalEmailRecipients additionalEmailRecipients) List of additional email addresses for an email contact.default Contact.Builder
agentInfo
(Consumer<AgentInfo.Builder> agentInfo) Information about the agent who accepted the contact.Information about the agent who accepted the contact.answeringMachineDetectionStatus
(String answeringMachineDetectionStatus) Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.answeringMachineDetectionStatus
(AnsweringMachineDetectionStatus answeringMachineDetectionStatus) Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.The Amazon Resource Name (ARN) for the contact.attributes
(Map<String, String> attributes) The attributes of the contact.default Contact.Builder
campaign
(Consumer<Campaign.Builder> campaign) Sets the value of the Campaign property for this object.Sets the value of the Campaign property for this object.How the contact reached your contact center.How the contact reached your contact center.default Contact.Builder
chatMetrics
(Consumer<ChatMetrics.Builder> chatMetrics) Information about how agent, bot, and customer interact in a chat contact.chatMetrics
(ChatMetrics chatMetrics) Information about how agent, bot, and customer interact in a chat contact.connectedToSystemTimestamp
(Instant connectedToSystemTimestamp) The timestamp when customer endpoint connected to Amazon Connect.contactAssociationId
(String contactAssociationId) This is the root contactId which is used as a unique identifier for all subsequent contacts in a contact tree.default Contact.Builder
contactDetails
(Consumer<ContactDetails.Builder> contactDetails) A map of string key/value pairs that contain user-defined attributes which are lightly typed within the contact.contactDetails
(ContactDetails contactDetails) A map of string key/value pairs that contain user-defined attributes which are lightly typed within the contact.contactEvaluations
(Map<String, ContactEvaluation> contactEvaluations) Information about the contact evaluations where the key is the FormId, which is a unique identifier for the form.default Contact.Builder
customer
(Consumer<Customer.Builder> customer) Information about the Customer on the contact.Information about the Customer on the contact.default Contact.Builder
customerEndpoint
(Consumer<EndpointInfo.Builder> customerEndpoint) The customer or external third party participant endpoint.customerEndpoint
(EndpointInfo customerEndpoint) The customer or external third party participant endpoint.customerId
(String customerId) The customer's identification number.default Contact.Builder
customerVoiceActivity
(Consumer<CustomerVoiceActivity.Builder> customerVoiceActivity) Information about customer’s voice activity.customerVoiceActivity
(CustomerVoiceActivity customerVoiceActivity) Information about customer’s voice activity.description
(String description) The description of the contact.default Contact.Builder
disconnectDetails
(Consumer<DisconnectDetails.Builder> disconnectDetails) Information about the call disconnect experience.disconnectDetails
(DisconnectDetails disconnectDetails) Information about the call disconnect experience.disconnectReason
(String disconnectReason) The disconnect reason for the contact.disconnectTimestamp
(Instant disconnectTimestamp) The date and time that the customer endpoint disconnected from the current contact, in UTC time.The identifier for the contact.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.lastPausedTimestamp
(Instant lastPausedTimestamp) The timestamp when the contact was last paused.lastResumedTimestamp
(Instant lastResumedTimestamp) The timestamp when the contact was last resumed.lastUpdateTimestamp
(Instant lastUpdateTimestamp) The timestamp when contact was last updated.The name of the contact.previousContactId
(String previousContactId) If this contact is not the first contact, this is the ID of the previous contact.default Contact.Builder
qualityMetrics
(Consumer<QualityMetrics.Builder> qualityMetrics) Information about the quality of the participant's media connection.qualityMetrics
(QualityMetrics qualityMetrics) Information about the quality of the participant's media connection.default Contact.Builder
queueInfo
(Consumer<QueueInfo.Builder> queueInfo) If this contact was queued, this contains information about the queue.If this contact was queued, this contains information about the queue.queuePriority
(Long queuePriority) An integer that represents the queue priority to be applied to the contact (lower priorities are routed preferentially).queueTimeAdjustmentSeconds
(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).recordings
(Collection<RecordingInfo> recordings) If recording was enabled, this is information about the recordings.recordings
(Consumer<RecordingInfo.Builder>... recordings) If recording was enabled, this is information about the recordings.recordings
(RecordingInfo... recordings) If recording was enabled, this is information about the recordings.relatedContactId
(String relatedContactId) The contactId that is related to this contact.default Contact.Builder
routingCriteria
(Consumer<RoutingCriteria.Builder> routingCriteria) Latest routing criteria on the contact.routingCriteria
(RoutingCriteria routingCriteria) Latest routing criteria on the contact.scheduledTimestamp
(Instant scheduledTimestamp) The timestamp, in Unix epoch time format, at which to start running the inbound flow.segmentAttributes
(Map<String, SegmentAttributeValue> segmentAttributes) A set of system defined key-value pairs stored on individual contact segments using an attribute map.default Contact.Builder
systemEndpoint
(Consumer<EndpointInfo.Builder> systemEndpoint) The system endpoint.systemEndpoint
(EndpointInfo systemEndpoint) The system endpoint.Tags associated with the contact.totalPauseCount
(Integer totalPauseCount) Total pause count for a contact.totalPauseDurationInSeconds
(Integer totalPauseDurationInSeconds) Total pause duration for a contact in seconds.default Contact.Builder
wisdomInfo
(Consumer<WisdomInfo.Builder> wisdomInfo) Information about Amazon Connect Wisdom.wisdomInfo
(WisdomInfo wisdomInfo) Information about Amazon Connect Wisdom.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) for the contact.
- Parameters:
arn
- The Amazon Resource Name (ARN) for the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The identifier for the contact.
- Parameters:
id
- The identifier for the contact.- 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.
-
contactAssociationId
This is the root contactId which is used as a unique identifier for all subsequent contacts in a contact tree.
- Parameters:
contactAssociationId
- This is the root contactId which is used as a unique identifier for all subsequent contacts in a contact tree.- 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:
-
name
The name of the contact.
- Parameters:
name
- The name of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the contact.
- Parameters:
description
- The description of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 viaQueueInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueueInfo(QueueInfo)
.- Parameters:
queueInfo
- a consumer that will call methods onQueueInfo.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
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 viaAgentInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentInfo(AgentInfo)
.- Parameters:
agentInfo
- a consumer that will call methods onAgentInfo.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. ForAPI
, 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. ForAPI
, 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 date and time that the customer endpoint disconnected from the current contact, in UTC time. In transfer scenarios, the DisconnectTimestamp of the previous contact indicates the date and time when that contact ended.
- Parameters:
disconnectTimestamp
- The date and time that the customer endpoint disconnected from the current contact, in UTC time. In transfer scenarios, the DisconnectTimestamp of the previous contact indicates the date and time when that contact ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTimestamp
The timestamp when contact was last updated.
- Parameters:
lastUpdateTimestamp
- The timestamp when contact was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastPausedTimestamp
The timestamp when the contact was last paused.
- Parameters:
lastPausedTimestamp
- The timestamp when the contact was last paused.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastResumedTimestamp
The timestamp when the contact was last resumed.
- Parameters:
lastResumedTimestamp
- The timestamp when the contact was last resumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalPauseCount
Total pause count for a contact.
- Parameters:
totalPauseCount
- Total pause count for a contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalPauseDurationInSeconds
Total pause duration for a contact in seconds.
- Parameters:
totalPauseDurationInSeconds
- Total pause duration for a contact in seconds.- 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.
-
wisdomInfo
Information about Amazon Connect Wisdom.
- Parameters:
wisdomInfo
- Information about Amazon Connect Wisdom.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaWisdomInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towisdomInfo(WisdomInfo)
.- Parameters:
wisdomInfo
- a consumer that will call methods onWisdomInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerId
The customer's identification number. For example, the
CustomerId
may be a customer number from your CRM. You can create a Lambda function to pull the unique customer ID of the caller from your CRM system. If you enable Amazon Connect Voice ID capability, this attribute is populated with theCustomerSpeakerId
of the caller.- Parameters:
customerId
- The customer's identification number. For example, theCustomerId
may be a customer number from your CRM. You can create a Lambda function to pull the unique customer ID of the caller from your CRM system. If you enable Amazon Connect Voice ID capability, this attribute is populated with theCustomerSpeakerId
of the caller.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerEndpoint
The customer or external third party participant endpoint.
- Parameters:
customerEndpoint
- The customer or external third party participant endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerEndpoint
The customer or external third party participant endpoint.
This is a convenience method that creates an instance of theEndpointInfo.Builder
avoiding the need to create one manually viaEndpointInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerEndpoint(EndpointInfo)
.- Parameters:
customerEndpoint
- a consumer that will call methods onEndpointInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
systemEndpoint
The system endpoint. For
INBOUND
, this is the phone number or email address that the customer dialed. ForOUTBOUND
andEXTERNAL_OUTBOUND
, this is the outbound caller ID number assigned to the outbound queue that is used to dial the customer. For callback, this shows up as Softphone for calls handled by agents with softphone.- Parameters:
systemEndpoint
- The system endpoint. ForINBOUND
, this is the phone number or email address that the customer dialed. ForOUTBOUND
andEXTERNAL_OUTBOUND
, this is the outbound caller ID number assigned to the outbound queue that is used to dial the customer. For callback, this shows up as Softphone for calls handled by agents with softphone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemEndpoint
The system endpoint. For
This is a convenience method that creates an instance of theINBOUND
, this is the phone number or email address that the customer dialed. ForOUTBOUND
andEXTERNAL_OUTBOUND
, this is the outbound caller ID number assigned to the outbound queue that is used to dial the customer. For callback, this shows up as Softphone for calls handled by agents with softphone.EndpointInfo.Builder
avoiding the need to create one manually viaEndpointInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosystemEndpoint(EndpointInfo)
.- Parameters:
systemEndpoint
- a consumer that will call methods onEndpointInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.
- Parameters:
tags
- Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectedToSystemTimestamp
The timestamp when customer endpoint connected to Amazon Connect.
- Parameters:
connectedToSystemTimestamp
- The timestamp when customer endpoint connected to Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingCriteria
Latest routing criteria on the contact.
- Parameters:
routingCriteria
- Latest routing criteria on the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingCriteria
Latest routing criteria on the contact.
This is a convenience method that creates an instance of theRoutingCriteria.Builder
avoiding the need to create one manually viaRoutingCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingCriteria(RoutingCriteria)
.- Parameters:
routingCriteria
- a consumer that will call methods onRoutingCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customer
Information about the Customer on the contact.
- Parameters:
customer
- Information about the Customer on the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customer
Information about the Customer on the contact.
This is a convenience method that creates an instance of theCustomer.Builder
avoiding the need to create one manually viaCustomer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomer(Customer)
.- Parameters:
customer
- a consumer that will call methods onCustomer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
campaign
Sets the value of the Campaign property for this object.- Parameters:
campaign
- The new value for the Campaign property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaign
Sets the value of the Campaign property for this object. This is a convenience method that creates an instance of theCampaign.Builder
avoiding the need to create one manually viaCampaign.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocampaign(Campaign)
.- Parameters:
campaign
- a consumer that will call methods onCampaign.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
answeringMachineDetectionStatus
Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.
- Parameters:
answeringMachineDetectionStatus
- Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
answeringMachineDetectionStatus
Contact.Builder answeringMachineDetectionStatus(AnsweringMachineDetectionStatus answeringMachineDetectionStatus) Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.
- Parameters:
answeringMachineDetectionStatus
- Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerVoiceActivity
Information about customer’s voice activity.
- Parameters:
customerVoiceActivity
- Information about customer’s voice activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerVoiceActivity
default Contact.Builder customerVoiceActivity(Consumer<CustomerVoiceActivity.Builder> customerVoiceActivity) Information about customer’s voice activity.
This is a convenience method that creates an instance of theCustomerVoiceActivity.Builder
avoiding the need to create one manually viaCustomerVoiceActivity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerVoiceActivity(CustomerVoiceActivity)
.- Parameters:
customerVoiceActivity
- a consumer that will call methods onCustomerVoiceActivity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
qualityMetrics
Information about the quality of the participant's media connection.
- Parameters:
qualityMetrics
- Information about the quality of the participant's media connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qualityMetrics
Information about the quality of the participant's media connection.
This is a convenience method that creates an instance of theQualityMetrics.Builder
avoiding the need to create one manually viaQualityMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqualityMetrics(QualityMetrics)
.- Parameters:
qualityMetrics
- a consumer that will call methods onQualityMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
chatMetrics
Information about how agent, bot, and customer interact in a chat contact.
- Parameters:
chatMetrics
- Information about how agent, bot, and customer interact in a chat contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatMetrics
Information about how agent, bot, and customer interact in a chat contact.
This is a convenience method that creates an instance of theChatMetrics.Builder
avoiding the need to create one manually viaChatMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochatMetrics(ChatMetrics)
.- Parameters:
chatMetrics
- a consumer that will call methods onChatMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disconnectDetails
Information about the call disconnect experience.
- Parameters:
disconnectDetails
- Information about the call disconnect experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disconnectDetails
Information about the call disconnect experience.
This is a convenience method that creates an instance of theDisconnectDetails.Builder
avoiding the need to create one manually viaDisconnectDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todisconnectDetails(DisconnectDetails)
.- Parameters:
disconnectDetails
- a consumer that will call methods onDisconnectDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalEmailRecipients
List of additional email addresses for an email contact.
- Parameters:
additionalEmailRecipients
- List of additional email addresses for an email contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalEmailRecipients
default Contact.Builder additionalEmailRecipients(Consumer<AdditionalEmailRecipients.Builder> additionalEmailRecipients) List of additional email addresses for an email contact.
This is a convenience method that creates an instance of theAdditionalEmailRecipients.Builder
avoiding the need to create one manually viaAdditionalEmailRecipients.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadditionalEmailRecipients(AdditionalEmailRecipients)
.- Parameters:
additionalEmailRecipients
- a consumer that will call methods onAdditionalEmailRecipients.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
orconnect:SMS
.- Parameters:
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
orconnect:SMS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordings
If recording was enabled, this is information about the recordings.
- Parameters:
recordings
- If recording was enabled, this is information about the recordings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordings
If recording was enabled, this is information about the recordings.
- Parameters:
recordings
- If recording was enabled, this is information about the recordings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordings
If recording was enabled, this is information about the recordings.
This is a convenience method that creates an instance of theRecordingInfo.Builder
avoiding the need to create one manually viaRecordingInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecordings(List<RecordingInfo>)
.- Parameters:
recordings
- a consumer that will call methods onRecordingInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disconnectReason
The disconnect reason for the contact.
- Parameters:
disconnectReason
- The disconnect reason for the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactEvaluations
Information about the contact evaluations where the key is the FormId, which is a unique identifier for the form.
- Parameters:
contactEvaluations
- Information about the contact evaluations where the key is the FormId, which is a unique identifier for the form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactDetails
A map of string key/value pairs that contain user-defined attributes which are lightly typed within the contact. This object is used only for task contacts.
- Parameters:
contactDetails
- A map of string key/value pairs that contain user-defined attributes which are lightly typed within the contact. This object is used only for task contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactDetails
A map of string key/value pairs that contain user-defined attributes which are lightly typed within the contact. This object is used only for task contacts.
This is a convenience method that creates an instance of theContactDetails.Builder
avoiding the need to create one manually viaContactDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontactDetails(ContactDetails)
.- Parameters:
contactDetails
- a consumer that will call methods onContactDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
The attributes of the contact.
- Parameters:
attributes
- The attributes of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-