Interface RealTimeContactAnalysisSegmentAttachments.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RealTimeContactAnalysisSegmentAttachments.Builder,RealTimeContactAnalysisSegmentAttachments>,SdkBuilder<RealTimeContactAnalysisSegmentAttachments.Builder,RealTimeContactAnalysisSegmentAttachments>,SdkPojo
- Enclosing class:
- RealTimeContactAnalysisSegmentAttachments
public static interface RealTimeContactAnalysisSegmentAttachments.Builder extends SdkPojo, CopyableBuilder<RealTimeContactAnalysisSegmentAttachments.Builder,RealTimeContactAnalysisSegmentAttachments>
-
-
Method Summary
-
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
-
id
RealTimeContactAnalysisSegmentAttachments.Builder id(String 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
RealTimeContactAnalysisSegmentAttachments.Builder participantId(String 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
RealTimeContactAnalysisSegmentAttachments.Builder participantRole(String 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,ParticipantRole
-
participantRole
RealTimeContactAnalysisSegmentAttachments.Builder participantRole(ParticipantRole 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,ParticipantRole
-
displayName
RealTimeContactAnalysisSegmentAttachments.Builder displayName(String 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.Builderavoiding the need to create one manually viaRealTimeContactAnalysisAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attachments(List.) - 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:
#attachments(java.util.Collection)
-
time
RealTimeContactAnalysisSegmentAttachments.Builder time(RealTimeContactAnalysisTimeData 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.Builderavoiding the need to create one manually viaRealTimeContactAnalysisTimeData.builder().When the
Consumercompletes,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:
time(RealTimeContactAnalysisTimeData)
-
-