Interface RealTimeContactAnalysisSegmentAttachments.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RealTimeContactAnalysisSegmentAttachments.Builder,
,RealTimeContactAnalysisSegmentAttachments> SdkBuilder<RealTimeContactAnalysisSegmentAttachments.Builder,
,RealTimeContactAnalysisSegmentAttachments> SdkPojo
- Enclosing class:
RealTimeContactAnalysisSegmentAttachments
-
Method Summary
Modifier and TypeMethodDescriptionattachments
(Collection<RealTimeContactAnalysisAttachment> attachments) List of objects describing an individual attachment.attachments
(Consumer<RealTimeContactAnalysisAttachment.Builder>... attachments) List of objects describing an individual attachment.attachments
(RealTimeContactAnalysisAttachment... attachments) List of objects describing an individual attachment.displayName
(String displayName) The display name of the participant.The identifier of the segment.participantId
(String participantId) The identifier of the participant.participantRole
(String participantRole) The role of the participant.participantRole
(ParticipantRole participantRole) The role of the participant.Field describing the time of the event.Field describing the time of the event.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 Details
-
id
The identifier of the segment.
- Parameters:
id
- The identifier of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantId
The identifier of the participant.
- Parameters:
participantId
- The identifier of the participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantRole
The role of the participant. For example, is it a customer, agent, or system.
- Parameters:
participantRole
- The role of the participant. For example, is it a customer, agent, or system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
participantRole
The role of the participant. For example, is it a customer, agent, or system.
- Parameters:
participantRole
- The role of the participant. For example, is it a customer, agent, or system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayName
The display name of the participant. Can be redacted.
- Parameters:
displayName
- The display name of the participant. Can be redacted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
RealTimeContactAnalysisSegmentAttachments.Builder attachments(Collection<RealTimeContactAnalysisAttachment> attachments) List of objects describing an individual attachment.
- Parameters:
attachments
- List of objects describing an individual attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
RealTimeContactAnalysisSegmentAttachments.Builder attachments(RealTimeContactAnalysisAttachment... attachments) List of objects describing an individual attachment.
- Parameters:
attachments
- List of objects describing an individual attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
RealTimeContactAnalysisSegmentAttachments.Builder attachments(Consumer<RealTimeContactAnalysisAttachment.Builder>... attachments) List of objects describing an individual attachment.
This is a convenience method that creates an instance of theRealTimeContactAnalysisAttachment.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachments(List<RealTimeContactAnalysisAttachment>)
.- Parameters:
attachments
- a consumer that will call methods onRealTimeContactAnalysisAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
time
Field describing the time of the event. It can have different representations of time.
- Parameters:
time
- Field describing the time of the event. It can have different representations of time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
default RealTimeContactAnalysisSegmentAttachments.Builder time(Consumer<RealTimeContactAnalysisTimeData.Builder> time) Field describing the time of the event. It can have different representations of time.
This is a convenience method that creates an instance of theRealTimeContactAnalysisTimeData.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisTimeData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totime(RealTimeContactAnalysisTimeData)
.- Parameters:
time
- a consumer that will call methods onRealTimeContactAnalysisTimeData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-