Interface Transcript.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Transcript.Builder,Transcript>,SdkBuilder<Transcript.Builder,Transcript>,SdkPojo
- Enclosing class:
- Transcript
public static interface Transcript.Builder extends SdkPojo, CopyableBuilder<Transcript.Builder,Transcript>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Transcript.BuilderbeginOffsetMillis(Integer beginOffsetMillis)The beginning offset in the contact for this transcript.Transcript.Buildercontent(String content)The content of the transcript.Transcript.BuilderendOffsetMillis(Integer endOffsetMillis)The end offset in the contact for this transcript.Transcript.Builderid(String id)The identifier of the transcript.Transcript.BuilderissuesDetected(Collection<IssueDetected> issuesDetected)List of positions where issues were detected on the transcript.Transcript.BuilderissuesDetected(Consumer<IssueDetected.Builder>... issuesDetected)List of positions where issues were detected on the transcript.Transcript.BuilderissuesDetected(IssueDetected... issuesDetected)List of positions where issues were detected on the transcript.Transcript.BuilderparticipantId(String participantId)The identifier of the participant.Transcript.BuilderparticipantRole(String participantRole)The role of participant.Transcript.Buildersentiment(String sentiment)The sentiment detected for this piece of transcript.Transcript.Buildersentiment(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 Detail
-
id
Transcript.Builder id(String 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
Transcript.Builder participantId(String 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
Transcript.Builder participantRole(String 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
Transcript.Builder content(String 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
Transcript.Builder beginOffsetMillis(Integer 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
Transcript.Builder endOffsetMillis(Integer 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
Transcript.Builder sentiment(String 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:
SentimentValue,SentimentValue
-
sentiment
Transcript.Builder sentiment(SentimentValue 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:
SentimentValue,SentimentValue
-
issuesDetected
Transcript.Builder issuesDetected(Collection<IssueDetected> 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
Transcript.Builder issuesDetected(IssueDetected... 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
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.Builderavoiding the need to create one manually viaIssueDetected.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#issuesDetected(List.) - 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:
#issuesDetected(java.util.Collection)
-
-