Interface MedicalScribeTranscriptSegment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MedicalScribeTranscriptSegment.Builder,,MedicalScribeTranscriptSegment> SdkBuilder<MedicalScribeTranscriptSegment.Builder,,MedicalScribeTranscriptSegment> SdkPojo
- Enclosing class:
MedicalScribeTranscriptSegment
-
Method Summary
Modifier and TypeMethodDescriptionbeginAudioTime(Double beginAudioTime) The start time, in milliseconds, of the segment.Indicates which audio channel is associated with theMedicalScribeTranscriptSegment.Contains transcribed text of the segment.endAudioTime(Double endAudioTime) The end time, in milliseconds, of the segment.Indicates if the segment is complete.Contains words, phrases, or punctuation marks in your segment.items(Consumer<MedicalScribeTranscriptItem.Builder>... items) Contains words, phrases, or punctuation marks in your segment.items(MedicalScribeTranscriptItem... items) Contains words, phrases, or punctuation marks in your segment.The identifier of the segment.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, sdkFieldNameToField, sdkFields
-
Method Details
-
segmentId
The identifier of the segment.
- Parameters:
segmentId- The identifier of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beginAudioTime
The start time, in milliseconds, of the segment.
- Parameters:
beginAudioTime- The start time, in milliseconds, of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endAudioTime
The end time, in milliseconds, of the segment.
- Parameters:
endAudioTime- The end time, in milliseconds, of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Contains transcribed text of the segment.
- Parameters:
content- Contains transcribed text of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Contains words, phrases, or punctuation marks in your segment.
- Parameters:
items- Contains words, phrases, or punctuation marks in your segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Contains words, phrases, or punctuation marks in your segment.
- Parameters:
items- Contains words, phrases, or punctuation marks in your segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
MedicalScribeTranscriptSegment.Builder items(Consumer<MedicalScribeTranscriptItem.Builder>... items) Contains words, phrases, or punctuation marks in your segment.
This is a convenience method that creates an instance of theMedicalScribeTranscriptItem.Builderavoiding the need to create one manually viaMedicalScribeTranscriptItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<MedicalScribeTranscriptItem>).- Parameters:
items- a consumer that will call methods onMedicalScribeTranscriptItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isPartial
Indicates if the segment is complete.
If
IsPartialistrue, the segment is not complete. IfIsPartialisfalse, the segment is complete.- Parameters:
isPartial- Indicates if the segment is complete.If
IsPartialistrue, the segment is not complete. IfIsPartialisfalse, the segment is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelId
Indicates which audio channel is associated with the
MedicalScribeTranscriptSegment.If
MedicalScribeChannelDefinitionis not provided in theMedicalScribeConfigurationEvent, then this field will not be included.- Parameters:
channelId- Indicates which audio channel is associated with theMedicalScribeTranscriptSegment.If
MedicalScribeChannelDefinitionis not provided in theMedicalScribeConfigurationEvent, then this field will not be included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-