Interface MedicalResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MedicalResult.Builder,
,MedicalResult> SdkBuilder<MedicalResult.Builder,
,MedicalResult> SdkPojo
- Enclosing class:
MedicalResult
-
Method Summary
Modifier and TypeMethodDescriptionalternatives
(Collection<MedicalAlternative> alternatives) A list of possible alternative transcriptions for the input audio.alternatives
(Consumer<MedicalAlternative.Builder>... alternatives) A list of possible alternative transcriptions for the input audio.alternatives
(MedicalAlternative... alternatives) A list of possible alternative transcriptions for the input audio.Indicates the channel identified for theResult
.The end time, in seconds, of theResult
.Indicates if the segment is complete.Provides a unique identifier for theResult
.The start time, in seconds, of theResult
.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
-
resultId
Provides a unique identifier for the
Result
.- Parameters:
resultId
- Provides a unique identifier for theResult
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time, in seconds, of the
Result
.- Parameters:
startTime
- The start time, in seconds, of theResult
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time, in seconds, of the
Result
.- Parameters:
endTime
- The end time, in seconds, of theResult
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
alternatives
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of
Items
,Entities
, orTranscript
.- Parameters:
alternatives
- A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more ofItems
,Entities
, orTranscript
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternatives
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of
Items
,Entities
, orTranscript
.- Parameters:
alternatives
- A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more ofItems
,Entities
, orTranscript
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternatives
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of
This is a convenience method that creates an instance of theItems
,Entities
, orTranscript
.MedicalAlternative.Builder
avoiding the need to create one manually viaMedicalAlternative.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalternatives(List<MedicalAlternative>)
.- Parameters:
alternatives
- a consumer that will call methods onMedicalAlternative.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelId
Indicates the channel identified for the
Result
.- Parameters:
channelId
- Indicates the channel identified for theResult
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-