public static interface Transcript.Builder extends SdkPojo, CopyableBuilder<Transcript.Builder,Transcript>
| Modifier and Type | Method and Description |
|---|---|
Transcript.Builder |
beginOffsetMillis(Integer beginOffsetMillis)
The beginning offset in the contact for this transcript.
|
Transcript.Builder |
content(String content)
The content of the transcript.
|
Transcript.Builder |
endOffsetMillis(Integer endOffsetMillis)
The end offset in the contact for this transcript.
|
Transcript.Builder |
id(String id)
The identifier of the transcript.
|
Transcript.Builder |
issuesDetected(Collection<IssueDetected> issuesDetected)
List of positions where issues were detected on the transcript.
|
Transcript.Builder |
issuesDetected(Consumer<IssueDetected.Builder>... issuesDetected)
List of positions where issues were detected on the transcript.
|
Transcript.Builder |
issuesDetected(IssueDetected... issuesDetected)
List of positions where issues were detected on the transcript.
|
Transcript.Builder |
participantId(String participantId)
The identifier of the participant.
|
Transcript.Builder |
participantRole(String participantRole)
The role of participant.
|
Transcript.Builder |
sentiment(SentimentValue sentiment)
The sentiment of the detected for this piece of transcript.
|
Transcript.Builder |
sentiment(String sentiment)
The sentiment of the detected for this piece of transcript.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTranscript.Builder id(String id)
The identifier of the transcript.
id - The identifier of the transcript.Transcript.Builder participantId(String participantId)
The identifier of the participant.
participantId - The identifier of the participant.Transcript.Builder participantRole(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.Transcript.Builder content(String content)
The content of the transcript.
content - The content of the transcript.Transcript.Builder beginOffsetMillis(Integer beginOffsetMillis)
The beginning offset in the contact for this transcript.
beginOffsetMillis - The beginning offset in the contact for this transcript.Transcript.Builder endOffsetMillis(Integer endOffsetMillis)
The end offset in the contact for this transcript.
endOffsetMillis - The end offset in the contact for this transcript.Transcript.Builder sentiment(String sentiment)
The sentiment of the detected for this piece of transcript.
sentiment - The sentiment of the detected for this piece of transcript.SentimentValue,
SentimentValueTranscript.Builder sentiment(SentimentValue sentiment)
The sentiment of the detected for this piece of transcript.
sentiment - The sentiment of the detected for this piece of transcript.SentimentValue,
SentimentValueTranscript.Builder issuesDetected(Collection<IssueDetected> issuesDetected)
List of positions where issues were detected on the transcript.
issuesDetected - List of positions where issues were detected on the transcript.Transcript.Builder issuesDetected(IssueDetected... issuesDetected)
List of positions where issues were detected on the transcript.
issuesDetected - List of positions where issues were detected on the transcript.Transcript.Builder issuesDetected(Consumer<IssueDetected.Builder>... issuesDetected)
List of positions where issues were detected on the transcript.
This is a convenience method that creates an instance of theIssueDetected.Builder avoiding the need to
create one manually via
IssueDetected.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #issuesDetected(List.
issuesDetected - a consumer that will call methods on
IssueDetected.Builder#issuesDetected(java.util.Collection) Copyright © 2023. All rights reserved.