Interface RealTimeContactAnalysisSegmentEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RealTimeContactAnalysisSegmentEvent.Builder,RealTimeContactAnalysisSegmentEvent>,SdkBuilder<RealTimeContactAnalysisSegmentEvent.Builder,RealTimeContactAnalysisSegmentEvent>,SdkPojo
- Enclosing class:
- RealTimeContactAnalysisSegmentEvent
public static interface RealTimeContactAnalysisSegmentEvent.Builder extends SdkPojo, CopyableBuilder<RealTimeContactAnalysisSegmentEvent.Builder,RealTimeContactAnalysisSegmentEvent>
-
-
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
RealTimeContactAnalysisSegmentEvent.Builder id(String id)
The identifier of the contact event.
- Parameters:
id- The identifier of the contact event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantId
RealTimeContactAnalysisSegmentEvent.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
RealTimeContactAnalysisSegmentEvent.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
RealTimeContactAnalysisSegmentEvent.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
RealTimeContactAnalysisSegmentEvent.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.
-
eventType
RealTimeContactAnalysisSegmentEvent.Builder eventType(String eventType)
Type of the event. For example,
application/vnd.amazonaws.connect.event.participant.left.- Parameters:
eventType- Type of the event. For example,application/vnd.amazonaws.connect.event.participant.left.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
RealTimeContactAnalysisSegmentEvent.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 RealTimeContactAnalysisSegmentEvent.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)
-
-