Interface ChatMetrics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChatMetrics.Builder,
,ChatMetrics> SdkBuilder<ChatMetrics.Builder,
,ChatMetrics> SdkPojo
- Enclosing class:
ChatMetrics
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChatMetrics.Builder
agentMetrics
(Consumer<ParticipantMetrics.Builder> agentMetrics) Information about agent interactions in a contact.agentMetrics
(ParticipantMetrics agentMetrics) Information about agent interactions in a contact.default ChatMetrics.Builder
chatContactMetrics
(Consumer<ChatContactMetrics.Builder> chatContactMetrics) Information about the overall participant interactions at the contact level.chatContactMetrics
(ChatContactMetrics chatContactMetrics) Information about the overall participant interactions at the contact level.default ChatMetrics.Builder
customerMetrics
(Consumer<ParticipantMetrics.Builder> customerMetrics) Information about customer interactions in a contact.customerMetrics
(ParticipantMetrics customerMetrics) Information about customer interactions in 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
-
chatContactMetrics
Information about the overall participant interactions at the contact level.
- Parameters:
chatContactMetrics
- Information about the overall participant interactions at the contact level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatContactMetrics
default ChatMetrics.Builder chatContactMetrics(Consumer<ChatContactMetrics.Builder> chatContactMetrics) Information about the overall participant interactions at the contact level.
This is a convenience method that creates an instance of theChatContactMetrics.Builder
avoiding the need to create one manually viaChatContactMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochatContactMetrics(ChatContactMetrics)
.- Parameters:
chatContactMetrics
- a consumer that will call methods onChatContactMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentMetrics
Information about agent interactions in a contact.
- Parameters:
agentMetrics
- Information about agent interactions in a contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentMetrics
Information about agent interactions in a contact.
This is a convenience method that creates an instance of theParticipantMetrics.Builder
avoiding the need to create one manually viaParticipantMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentMetrics(ParticipantMetrics)
.- Parameters:
agentMetrics
- a consumer that will call methods onParticipantMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerMetrics
Information about customer interactions in a contact.
- Parameters:
customerMetrics
- Information about customer interactions in a contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerMetrics
Information about customer interactions in a contact.
This is a convenience method that creates an instance of theParticipantMetrics.Builder
avoiding the need to create one manually viaParticipantMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerMetrics(ParticipantMetrics)
.- Parameters:
customerMetrics
- a consumer that will call methods onParticipantMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-