Interface UtteranceEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UtteranceEvent.Builder,,UtteranceEvent> SdkBuilder<UtteranceEvent.Builder,,UtteranceEvent> SdkPojo
- All Known Subinterfaces:
DefaultUtteranceEvent.Builder
- Enclosing class:
UtteranceEvent
-
Method Summary
Modifier and TypeMethodDescriptionbeginOffsetMillis(Long beginOffsetMillis) The time, in milliseconds, from the beginning of the audio stream to the start of theUtteranceEvent.endOffsetMillis(Long endOffsetMillis) The time, in milliseconds, from the beginning of the audio stream to the start of theUtteranceEvent.entities(Collection<CallAnalyticsEntity> entities) Contains entities identified as personally identifiable information (PII) in your transcription output.entities(Consumer<CallAnalyticsEntity.Builder>... entities) Contains entities identified as personally identifiable information (PII) in your transcription output.entities(CallAnalyticsEntity... entities) Contains entities identified as personally identifiable information (PII) in your transcription output.Indicates whether the segment in theUtteranceEventis complete (FALSE) or partial (TRUE).issuesDetected(Collection<IssueDetected> issuesDetected) Provides the issue that was detected in the specified segment.issuesDetected(Consumer<IssueDetected.Builder>... issuesDetected) Provides the issue that was detected in the specified segment.issuesDetected(IssueDetected... issuesDetected) Provides the issue that was detected in the specified segment.items(Collection<CallAnalyticsItem> items) Contains words, phrases, or punctuation marks that are associated with the specifiedUtteranceEvent.items(Consumer<CallAnalyticsItem.Builder>... items) Contains words, phrases, or punctuation marks that are associated with the specifiedUtteranceEvent.items(CallAnalyticsItem... items) Contains words, phrases, or punctuation marks that are associated with the specifiedUtteranceEvent.participantRole(String participantRole) Provides the role of the speaker for each audio channel, eitherCUSTOMERorAGENT.participantRole(ParticipantRole participantRole) Provides the role of the speaker for each audio channel, eitherCUSTOMERorAGENT.Provides the sentiment that was detected in the specified segment.Provides the sentiment that was detected in the specified segment.transcript(String transcript) Contains transcribed text.utteranceId(String utteranceId) The unique identifier that is associated with the specifiedUtteranceEvent.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
utteranceId
The unique identifier that is associated with the specified
UtteranceEvent.- Parameters:
utteranceId- The unique identifier that is associated with the specifiedUtteranceEvent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPartial
Indicates whether the segment in the
UtteranceEventis complete (FALSE) or partial (TRUE).- Parameters:
isPartial- Indicates whether the segment in theUtteranceEventis complete (FALSE) or partial (TRUE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantRole
Provides the role of the speaker for each audio channel, either
CUSTOMERorAGENT.- Parameters:
participantRole- Provides the role of the speaker for each audio channel, eitherCUSTOMERorAGENT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
participantRole
Provides the role of the speaker for each audio channel, either
CUSTOMERorAGENT.- Parameters:
participantRole- Provides the role of the speaker for each audio channel, eitherCUSTOMERorAGENT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
beginOffsetMillis
The time, in milliseconds, from the beginning of the audio stream to the start of the
UtteranceEvent.- Parameters:
beginOffsetMillis- The time, in milliseconds, from the beginning of the audio stream to the start of theUtteranceEvent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOffsetMillis
The time, in milliseconds, from the beginning of the audio stream to the start of the
UtteranceEvent.- Parameters:
endOffsetMillis- The time, in milliseconds, from the beginning of the audio stream to the start of theUtteranceEvent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transcript
Contains transcribed text.
- Parameters:
transcript- Contains transcribed text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent.- Parameters:
items- Contains words, phrases, or punctuation marks that are associated with the specifiedUtteranceEvent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent.- Parameters:
items- Contains words, phrases, or punctuation marks that are associated with the specifiedUtteranceEvent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Contains words, phrases, or punctuation marks that are associated with the specified
This is a convenience method that creates an instance of theUtteranceEvent.CallAnalyticsItem.Builderavoiding the need to create one manually viaCallAnalyticsItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<CallAnalyticsItem>).- Parameters:
items- a consumer that will call methods onCallAnalyticsItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entities
Contains entities identified as personally identifiable information (PII) in your transcription output.
- Parameters:
entities- Contains entities identified as personally identifiable information (PII) in your transcription output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
Contains entities identified as personally identifiable information (PII) in your transcription output.
- Parameters:
entities- Contains entities identified as personally identifiable information (PII) in your transcription output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
Contains entities identified as personally identifiable information (PII) in your transcription output.
This is a convenience method that creates an instance of theCallAnalyticsEntity.Builderavoiding the need to create one manually viaCallAnalyticsEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentities(List<CallAnalyticsEntity>).- Parameters:
entities- a consumer that will call methods onCallAnalyticsEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sentiment
Provides the sentiment that was detected in the specified segment.
- Parameters:
sentiment- Provides the sentiment that was detected in the specified segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sentiment
Provides the sentiment that was detected in the specified segment.
- Parameters:
sentiment- Provides the sentiment that was detected in the specified segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
issuesDetected
Provides the issue that was detected in the specified segment.
- Parameters:
issuesDetected- Provides the issue that was detected in the specified segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuesDetected
Provides the issue that was detected in the specified segment.
- Parameters:
issuesDetected- Provides the issue that was detected in the specified segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuesDetected
Provides the issue that was detected in the specified segment.
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 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:
-