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
Modifier and TypeMethodDescriptiondisplayName
(String displayName) The display name of the participant.Type of the event.The identifier of the contact event.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 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
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.
-
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
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.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:
-