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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaMedicalScribeTranscriptItem.builder()
.When the
Consumer
completes,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
IsPartial
istrue
, the segment is not complete. IfIsPartial
isfalse
, the segment is complete.- Parameters:
isPartial
- Indicates if the segment is complete.If
IsPartial
istrue
, the segment is not complete. IfIsPartial
isfalse
, 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
MedicalScribeChannelDefinition
is not provided in theMedicalScribeConfigurationEvent
, then this field will not be included.- Parameters:
channelId
- Indicates which audio channel is associated with theMedicalScribeTranscriptSegment
.If
MedicalScribeChannelDefinition
is 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.
-