@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Transcript extends Object implements Serializable, Cloneable, StructuredPojo
A list of messages in the session.
Constructor and Description |
---|
Transcript() |
Modifier and Type | Method and Description |
---|---|
Transcript |
clone() |
boolean |
equals(Object obj) |
Integer |
getBeginOffsetMillis()
The beginning offset in the contact for this transcript.
|
String |
getContent()
The content of the transcript.
|
Integer |
getEndOffsetMillis()
The end offset in the contact for this transcript.
|
String |
getId()
The identifier of the transcript.
|
List<IssueDetected> |
getIssuesDetected()
List of positions where issues were detected on the transcript.
|
String |
getParticipantId()
The identifier of the participant.
|
String |
getParticipantRole()
The role of participant.
|
String |
getSentiment()
The sentiment detected for this piece of transcript.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBeginOffsetMillis(Integer beginOffsetMillis)
The beginning offset in the contact for this transcript.
|
void |
setContent(String content)
The content of the transcript.
|
void |
setEndOffsetMillis(Integer endOffsetMillis)
The end offset in the contact for this transcript.
|
void |
setId(String id)
The identifier of the transcript.
|
void |
setIssuesDetected(Collection<IssueDetected> issuesDetected)
List of positions where issues were detected on the transcript.
|
void |
setParticipantId(String participantId)
The identifier of the participant.
|
void |
setParticipantRole(String participantRole)
The role of participant.
|
void |
setSentiment(String sentiment)
The sentiment detected for this piece of transcript.
|
String |
toString()
Returns a string representation of this object.
|
Transcript |
withBeginOffsetMillis(Integer beginOffsetMillis)
The beginning offset in the contact for this transcript.
|
Transcript |
withContent(String content)
The content of the transcript.
|
Transcript |
withEndOffsetMillis(Integer endOffsetMillis)
The end offset in the contact for this transcript.
|
Transcript |
withId(String id)
The identifier of the transcript.
|
Transcript |
withIssuesDetected(Collection<IssueDetected> issuesDetected)
List of positions where issues were detected on the transcript.
|
Transcript |
withIssuesDetected(IssueDetected... issuesDetected)
List of positions where issues were detected on the transcript.
|
Transcript |
withParticipantId(String participantId)
The identifier of the participant.
|
Transcript |
withParticipantRole(String participantRole)
The role of participant.
|
Transcript |
withSentiment(SentimentValue sentiment)
The sentiment detected for this piece of transcript.
|
Transcript |
withSentiment(String sentiment)
The sentiment detected for this piece of transcript.
|
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 Transcript withId(String id)
The identifier of the transcript.
id
- The identifier of the transcript.public void setParticipantId(String participantId)
The identifier of the participant. Valid values are CUSTOMER or AGENT.
participantId
- The identifier of the participant. Valid values are CUSTOMER or AGENT.public String getParticipantId()
The identifier of the participant. Valid values are CUSTOMER or AGENT.
public Transcript withParticipantId(String participantId)
The identifier of the participant. Valid values are CUSTOMER or AGENT.
participantId
- The identifier of the participant. Valid values are CUSTOMER or AGENT.public void setParticipantRole(String participantRole)
The role of participant. For example, is it a customer, agent, or system.
participantRole
- The role of participant. For example, is it a customer, agent, or system.public String getParticipantRole()
The role of participant. For example, is it a customer, agent, or system.
public Transcript withParticipantRole(String participantRole)
The role of participant. For example, is it a customer, agent, or system.
participantRole
- The role of participant. For example, is it a customer, agent, or system.public void setContent(String content)
The content of the transcript.
content
- The content of the transcript.public String getContent()
The content of the transcript.
public Transcript withContent(String content)
The content of the transcript.
content
- The content of the transcript.public void setBeginOffsetMillis(Integer beginOffsetMillis)
The beginning offset in the contact for this transcript.
beginOffsetMillis
- The beginning offset in the contact for this transcript.public Integer getBeginOffsetMillis()
The beginning offset in the contact for this transcript.
public Transcript withBeginOffsetMillis(Integer beginOffsetMillis)
The beginning offset in the contact for this transcript.
beginOffsetMillis
- The beginning offset in the contact for this transcript.public void setEndOffsetMillis(Integer endOffsetMillis)
The end offset in the contact for this transcript.
endOffsetMillis
- The end offset in the contact for this transcript.public Integer getEndOffsetMillis()
The end offset in the contact for this transcript.
public Transcript withEndOffsetMillis(Integer endOffsetMillis)
The end offset in the contact for this transcript.
endOffsetMillis
- The end offset in the contact for this transcript.public void setSentiment(String sentiment)
The sentiment detected for this piece of transcript.
sentiment
- The sentiment detected for this piece of transcript.SentimentValue
public String getSentiment()
The sentiment detected for this piece of transcript.
SentimentValue
public Transcript withSentiment(String sentiment)
The sentiment detected for this piece of transcript.
sentiment
- The sentiment detected for this piece of transcript.SentimentValue
public Transcript withSentiment(SentimentValue sentiment)
The sentiment detected for this piece of transcript.
sentiment
- The sentiment detected for this piece of transcript.SentimentValue
public List<IssueDetected> getIssuesDetected()
List of positions where issues were detected on the transcript.
public void setIssuesDetected(Collection<IssueDetected> issuesDetected)
List of positions where issues were detected on the transcript.
issuesDetected
- List of positions where issues were detected on the transcript.public Transcript withIssuesDetected(IssueDetected... issuesDetected)
List of positions where issues were detected on the transcript.
NOTE: This method appends the values to the existing list (if any). Use
setIssuesDetected(java.util.Collection)
or withIssuesDetected(java.util.Collection)
if you want
to override the existing values.
issuesDetected
- List of positions where issues were detected on the transcript.public Transcript withIssuesDetected(Collection<IssueDetected> issuesDetected)
List of positions where issues were detected on the transcript.
issuesDetected
- List of positions where issues were detected on the transcript.public String toString()
toString
in class Object
Object.toString()
public Transcript clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.