@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RealTimeContactAnalysisSegmentEvent extends Object implements Serializable, Cloneable, StructuredPojo
Segment type describing a contact event.
Constructor and Description |
---|
RealTimeContactAnalysisSegmentEvent() |
Modifier and Type | Method and Description |
---|---|
RealTimeContactAnalysisSegmentEvent |
clone() |
boolean |
equals(Object obj) |
String |
getDisplayName()
The display name of the participant.
|
String |
getEventType()
Type of the event.
|
String |
getId()
The identifier of the contact event.
|
String |
getParticipantId()
The identifier of the participant.
|
String |
getParticipantRole()
The role of the participant.
|
RealTimeContactAnalysisTimeData |
getTime()
Field describing the time of the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisplayName(String displayName)
The display name of the participant.
|
void |
setEventType(String eventType)
Type of the event.
|
void |
setId(String id)
The identifier of the contact event.
|
void |
setParticipantId(String participantId)
The identifier of the participant.
|
void |
setParticipantRole(String participantRole)
The role of the participant.
|
void |
setTime(RealTimeContactAnalysisTimeData time)
Field describing the time of the event.
|
String |
toString()
Returns a string representation of this object.
|
RealTimeContactAnalysisSegmentEvent |
withDisplayName(String displayName)
The display name of the participant.
|
RealTimeContactAnalysisSegmentEvent |
withEventType(String eventType)
Type of the event.
|
RealTimeContactAnalysisSegmentEvent |
withId(String id)
The identifier of the contact event.
|
RealTimeContactAnalysisSegmentEvent |
withParticipantId(String participantId)
The identifier of the participant.
|
RealTimeContactAnalysisSegmentEvent |
withParticipantRole(ParticipantRole participantRole)
The role of the participant.
|
RealTimeContactAnalysisSegmentEvent |
withParticipantRole(String participantRole)
The role of the participant.
|
RealTimeContactAnalysisSegmentEvent |
withTime(RealTimeContactAnalysisTimeData time)
Field describing the time of the event.
|
public void setId(String id)
The identifier of the contact event.
id
- The identifier of the contact event.public String getId()
The identifier of the contact event.
public RealTimeContactAnalysisSegmentEvent withId(String id)
The identifier of the contact event.
id
- The identifier of the contact event.public void setParticipantId(String participantId)
The identifier of the participant.
participantId
- The identifier of the participant.public String getParticipantId()
The identifier of the participant.
public RealTimeContactAnalysisSegmentEvent withParticipantId(String participantId)
The identifier of the participant.
participantId
- The identifier of the participant.public void setParticipantRole(String participantRole)
The role of the participant. For example, is it a customer, agent, or system.
participantRole
- The role of the participant. For example, is it a customer, agent, or system.ParticipantRole
public String getParticipantRole()
The role of the participant. For example, is it a customer, agent, or system.
ParticipantRole
public RealTimeContactAnalysisSegmentEvent withParticipantRole(String participantRole)
The role of the participant. For example, is it a customer, agent, or system.
participantRole
- The role of the participant. For example, is it a customer, agent, or system.ParticipantRole
public RealTimeContactAnalysisSegmentEvent withParticipantRole(ParticipantRole participantRole)
The role of the participant. For example, is it a customer, agent, or system.
participantRole
- The role of the participant. For example, is it a customer, agent, or system.ParticipantRole
public void setDisplayName(String displayName)
The display name of the participant. Can be redacted.
displayName
- The display name of the participant. Can be redacted.public String getDisplayName()
The display name of the participant. Can be redacted.
public RealTimeContactAnalysisSegmentEvent withDisplayName(String displayName)
The display name of the participant. Can be redacted.
displayName
- The display name of the participant. Can be redacted.public void setEventType(String eventType)
Type of the event. For example, application/vnd.amazonaws.connect.event.participant.left
.
eventType
- Type of the event. For example, application/vnd.amazonaws.connect.event.participant.left
.public String getEventType()
Type of the event. For example, application/vnd.amazonaws.connect.event.participant.left
.
application/vnd.amazonaws.connect.event.participant.left
.public RealTimeContactAnalysisSegmentEvent withEventType(String eventType)
Type of the event. For example, application/vnd.amazonaws.connect.event.participant.left
.
eventType
- Type of the event. For example, application/vnd.amazonaws.connect.event.participant.left
.public void setTime(RealTimeContactAnalysisTimeData time)
Field describing the time of the event. It can have different representations of time.
time
- Field describing the time of the event. It can have different representations of time.public RealTimeContactAnalysisTimeData getTime()
Field describing the time of the event. It can have different representations of time.
public RealTimeContactAnalysisSegmentEvent withTime(RealTimeContactAnalysisTimeData time)
Field describing the time of the event. It can have different representations of time.
time
- Field describing the time of the event. It can have different representations of time.public String toString()
toString
in class Object
Object.toString()
public RealTimeContactAnalysisSegmentEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.