Interface MedicalScribeTranscriptSegment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MedicalScribeTranscriptSegment.Builder,MedicalScribeTranscriptSegment>,SdkBuilder<MedicalScribeTranscriptSegment.Builder,MedicalScribeTranscriptSegment>,SdkPojo
- Enclosing class:
- MedicalScribeTranscriptSegment
@Mutable @NotThreadSafe public static interface MedicalScribeTranscriptSegment.Builder extends SdkPojo, CopyableBuilder<MedicalScribeTranscriptSegment.Builder,MedicalScribeTranscriptSegment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MedicalScribeTranscriptSegment.BuilderbeginAudioTime(Double beginAudioTime)The start time, in milliseconds, of the segment.MedicalScribeTranscriptSegment.BuilderchannelId(String channelId)Indicates which audio channel is associated with theMedicalScribeTranscriptSegment.MedicalScribeTranscriptSegment.Buildercontent(String content)Contains transcribed text of the segment.MedicalScribeTranscriptSegment.BuilderendAudioTime(Double endAudioTime)The end time, in milliseconds, of the segment.MedicalScribeTranscriptSegment.BuilderisPartial(Boolean isPartial)Indicates if the segment is complete.MedicalScribeTranscriptSegment.Builderitems(Collection<MedicalScribeTranscriptItem> items)Contains words, phrases, or punctuation marks in your segment.MedicalScribeTranscriptSegment.Builderitems(Consumer<MedicalScribeTranscriptItem.Builder>... items)Contains words, phrases, or punctuation marks in your segment.MedicalScribeTranscriptSegment.Builderitems(MedicalScribeTranscriptItem... items)Contains words, phrases, or punctuation marks in your segment.MedicalScribeTranscriptSegment.BuildersegmentId(String segmentId)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 Detail
-
segmentId
MedicalScribeTranscriptSegment.Builder segmentId(String 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
MedicalScribeTranscriptSegment.Builder beginAudioTime(Double 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
MedicalScribeTranscriptSegment.Builder endAudioTime(Double 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
MedicalScribeTranscriptSegment.Builder content(String 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
MedicalScribeTranscriptSegment.Builder items(Collection<MedicalScribeTranscriptItem> 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(MedicalScribeTranscriptItem... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
isPartial
MedicalScribeTranscriptSegment.Builder isPartial(Boolean 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
MedicalScribeTranscriptSegment.Builder channelId(String 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.
-
-