@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RealTimeContactAnalysisSegmentTranscript extends Object implements Serializable, Cloneable, StructuredPojo
The analyzed transcript segment.
Constructor and Description |
---|
RealTimeContactAnalysisSegmentTranscript() |
Modifier and Type | Method and Description |
---|---|
RealTimeContactAnalysisSegmentTranscript |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The content of the transcript.
|
String |
getContentType()
The type of content of the item.
|
String |
getDisplayName()
The display name of the participant.
|
String |
getId()
The identifier of the transcript.
|
String |
getParticipantId()
The identifier of the participant.
|
String |
getParticipantRole()
The role of the participant.
|
RealTimeContactAnalysisTranscriptItemRedaction |
getRedaction()
Object describing redaction that was applied to the transcript.
|
String |
getSentiment()
The sentiment detected for this piece of transcript.
|
RealTimeContactAnalysisTimeData |
getTime()
Field describing the time of the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContent(String content)
The content of the transcript.
|
void |
setContentType(String contentType)
The type of content of the item.
|
void |
setDisplayName(String displayName)
The display name of the participant.
|
void |
setId(String id)
The identifier of the transcript.
|
void |
setParticipantId(String participantId)
The identifier of the participant.
|
void |
setParticipantRole(String participantRole)
The role of the participant.
|
void |
setRedaction(RealTimeContactAnalysisTranscriptItemRedaction redaction)
Object describing redaction that was applied to the transcript.
|
void |
setSentiment(String sentiment)
The sentiment detected for this piece of transcript.
|
void |
setTime(RealTimeContactAnalysisTimeData time)
Field describing the time of the event.
|
String |
toString()
Returns a string representation of this object.
|
RealTimeContactAnalysisSegmentTranscript |
withContent(String content)
The content of the transcript.
|
RealTimeContactAnalysisSegmentTranscript |
withContentType(String contentType)
The type of content of the item.
|
RealTimeContactAnalysisSegmentTranscript |
withDisplayName(String displayName)
The display name of the participant.
|
RealTimeContactAnalysisSegmentTranscript |
withId(String id)
The identifier of the transcript.
|
RealTimeContactAnalysisSegmentTranscript |
withParticipantId(String participantId)
The identifier of the participant.
|
RealTimeContactAnalysisSegmentTranscript |
withParticipantRole(ParticipantRole participantRole)
The role of the participant.
|
RealTimeContactAnalysisSegmentTranscript |
withParticipantRole(String participantRole)
The role of the participant.
|
RealTimeContactAnalysisSegmentTranscript |
withRedaction(RealTimeContactAnalysisTranscriptItemRedaction redaction)
Object describing redaction that was applied to the transcript.
|
RealTimeContactAnalysisSegmentTranscript |
withSentiment(RealTimeContactAnalysisSentimentLabel sentiment)
The sentiment detected for this piece of transcript.
|
RealTimeContactAnalysisSegmentTranscript |
withSentiment(String sentiment)
The sentiment detected for this piece of transcript.
|
RealTimeContactAnalysisSegmentTranscript |
withTime(RealTimeContactAnalysisTimeData time)
Field describing the time of the event.
|
public RealTimeContactAnalysisSegmentTranscript()
public void setId(String id)
The identifier of the transcript.
id
- The identifier of the transcript.public String getId()
The identifier of the transcript.
public RealTimeContactAnalysisSegmentTranscript withId(String id)
The identifier of the transcript.
id
- The identifier of the transcript.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 RealTimeContactAnalysisSegmentTranscript 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 RealTimeContactAnalysisSegmentTranscript 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 RealTimeContactAnalysisSegmentTranscript 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.
displayName
- The display name of the participant.public String getDisplayName()
The display name of the participant.
public RealTimeContactAnalysisSegmentTranscript withDisplayName(String displayName)
The display name of the participant.
displayName
- The display name of the participant.public void setContent(String content)
The content of the transcript. Can be redacted.
content
- The content of the transcript. Can be redacted.public String getContent()
The content of the transcript. Can be redacted.
public RealTimeContactAnalysisSegmentTranscript withContent(String content)
The content of the transcript. Can be redacted.
content
- The content of the transcript. Can be redacted.public void setContentType(String contentType)
The type of content of the item. For example, text/plain
.
contentType
- The type of content of the item. For example, text/plain
.public String getContentType()
The type of content of the item. For example, text/plain
.
text/plain
.public RealTimeContactAnalysisSegmentTranscript withContentType(String contentType)
The type of content of the item. For example, text/plain
.
contentType
- The type of content of the item. For example, text/plain
.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 RealTimeContactAnalysisSegmentTranscript 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 void setRedaction(RealTimeContactAnalysisTranscriptItemRedaction redaction)
Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.
redaction
- Object describing redaction that was applied to the transcript. If transcript has the field it means part
of the transcript was redacted.public RealTimeContactAnalysisTranscriptItemRedaction getRedaction()
Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.
public RealTimeContactAnalysisSegmentTranscript withRedaction(RealTimeContactAnalysisTranscriptItemRedaction redaction)
Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.
redaction
- Object describing redaction that was applied to the transcript. If transcript has the field it means part
of the transcript was redacted.public void setSentiment(String sentiment)
The sentiment detected for this piece of transcript.
sentiment
- The sentiment detected for this piece of transcript.RealTimeContactAnalysisSentimentLabel
public String getSentiment()
The sentiment detected for this piece of transcript.
RealTimeContactAnalysisSentimentLabel
public RealTimeContactAnalysisSegmentTranscript withSentiment(String sentiment)
The sentiment detected for this piece of transcript.
sentiment
- The sentiment detected for this piece of transcript.RealTimeContactAnalysisSentimentLabel
public RealTimeContactAnalysisSegmentTranscript withSentiment(RealTimeContactAnalysisSentimentLabel sentiment)
The sentiment detected for this piece of transcript.
sentiment
- The sentiment detected for this piece of transcript.RealTimeContactAnalysisSentimentLabel
public String toString()
toString
in class Object
Object.toString()
public RealTimeContactAnalysisSegmentTranscript clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.