Interface Transcript.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Transcript.Builder,
,Transcript> SdkBuilder<Transcript.Builder,
,Transcript> SdkPojo
- Enclosing class:
Transcript
-
Method Summary
Modifier and TypeMethodDescriptionbeginOffsetMillis
(Integer beginOffsetMillis) The beginning offset in the contact for this transcript.The content of the transcript.endOffsetMillis
(Integer endOffsetMillis) The end offset in the contact for this transcript.The identifier of the transcript.issuesDetected
(Collection<IssueDetected> issuesDetected) List of positions where issues were detected on the transcript.issuesDetected
(Consumer<IssueDetected.Builder>... issuesDetected) List of positions where issues were detected on the transcript.issuesDetected
(IssueDetected... issuesDetected) List of positions where issues were detected on the transcript.participantId
(String participantId) The identifier of the participant.participantRole
(String participantRole) The role of participant.The sentiment detected for this piece of transcript.sentiment
(SentimentValue sentiment) The sentiment detected for this piece of transcript.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 transcript.
- Parameters:
id
- The identifier of the transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantId
The identifier of the participant. Valid values are CUSTOMER or AGENT.
- Parameters:
participantId
- The identifier of the participant. Valid values are CUSTOMER or AGENT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantRole
The role of participant. For example, is it a customer, agent, or system.
- Parameters:
participantRole
- The role of 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.
-
content
The content of the transcript.
- Parameters:
content
- The content of the transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beginOffsetMillis
The beginning offset in the contact for this transcript.
- Parameters:
beginOffsetMillis
- The beginning offset in the contact for this transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOffsetMillis
The end offset in the contact for this transcript.
- Parameters:
endOffsetMillis
- The end offset in the contact for this transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sentiment
The sentiment detected for this piece of transcript.
- Parameters:
sentiment
- The sentiment detected for this piece of transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sentiment
The sentiment detected for this piece of transcript.
- Parameters:
sentiment
- The sentiment detected for this piece of transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
issuesDetected
List of positions where issues were detected on the transcript.
- Parameters:
issuesDetected
- List of positions where issues were detected on the transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuesDetected
List of positions where issues were detected on the transcript.
- Parameters:
issuesDetected
- List of positions where issues were detected on the transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaIssueDetected.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toissuesDetected(List<IssueDetected>)
.- Parameters:
issuesDetected
- a consumer that will call methods onIssueDetected.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-