public static interface MedicalResult.Builder extends SdkPojo, CopyableBuilder<MedicalResult.Builder,MedicalResult>
| Modifier and Type | Method and Description |
|---|---|
MedicalResult.Builder |
alternatives(Collection<MedicalAlternative> alternatives)
A list of possible transcriptions of the audio.
|
MedicalResult.Builder |
alternatives(Consumer<MedicalAlternative.Builder>... alternatives)
A list of possible transcriptions of the audio.
|
MedicalResult.Builder |
alternatives(MedicalAlternative... alternatives)
A list of possible transcriptions of the audio.
|
MedicalResult.Builder |
channelId(String channelId)
When channel identification is enabled, Amazon Transcribe Medical transcribes the speech from each audio
channel separately.
|
MedicalResult.Builder |
endTime(Double endTime)
The time, in seconds, from the beginning of the audio stream to the end of the result.
|
MedicalResult.Builder |
isPartial(Boolean isPartial)
Amazon Transcribe Medical divides the incoming audio stream into segments at natural points in the audio.
|
MedicalResult.Builder |
resultId(String resultId)
A unique identifier for the result.
|
MedicalResult.Builder |
startTime(Double startTime)
The time, in seconds, from the beginning of the audio stream to the beginning of the result.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMedicalResult.Builder resultId(String resultId)
A unique identifier for the result.
resultId - A unique identifier for the result.MedicalResult.Builder startTime(Double startTime)
The time, in seconds, from the beginning of the audio stream to the beginning of the result.
startTime - The time, in seconds, from the beginning of the audio stream to the beginning of the result.MedicalResult.Builder endTime(Double endTime)
The time, in seconds, from the beginning of the audio stream to the end of the result.
endTime - The time, in seconds, from the beginning of the audio stream to the end of the result.MedicalResult.Builder isPartial(Boolean isPartial)
Amazon Transcribe Medical divides the incoming audio stream into segments at natural points in the audio. Transcription results are returned based on these segments.
The IsPartial field is true to indicate that Amazon Transcribe Medical has
additional transcription data to send. The IsPartial field is false to indicate
that this is the last transcription result for the segment.
isPartial - Amazon Transcribe Medical divides the incoming audio stream into segments at natural points in the
audio. Transcription results are returned based on these segments.
The IsPartial field is true to indicate that Amazon Transcribe Medical has
additional transcription data to send. The IsPartial field is false to
indicate that this is the last transcription result for the segment.
MedicalResult.Builder alternatives(Collection<MedicalAlternative> alternatives)
A list of possible transcriptions of the audio. Each alternative typically contains one Item
that contains the result of the transcription.
alternatives - A list of possible transcriptions of the audio. Each alternative typically contains one
Item that contains the result of the transcription.MedicalResult.Builder alternatives(MedicalAlternative... alternatives)
A list of possible transcriptions of the audio. Each alternative typically contains one Item
that contains the result of the transcription.
alternatives - A list of possible transcriptions of the audio. Each alternative typically contains one
Item that contains the result of the transcription.MedicalResult.Builder alternatives(Consumer<MedicalAlternative.Builder>... alternatives)
A list of possible transcriptions of the audio. Each alternative typically contains one Item
that contains the result of the transcription.
List.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #alternatives(List) .alternatives - a consumer that will call methods on List.Builder #alternatives(List) MedicalResult.Builder channelId(String channelId)
When channel identification is enabled, Amazon Transcribe Medical transcribes the speech from each audio channel separately.
You can use ChannelId to retrieve the transcription results for a single channel in your audio
stream.
channelId - When channel identification is enabled, Amazon Transcribe Medical transcribes the speech from each
audio channel separately.
You can use ChannelId to retrieve the transcription results for a single channel in your
audio stream.
Copyright © 2022. All rights reserved.