public static interface Result.Builder extends SdkPojo, CopyableBuilder<Result.Builder,Result>
| Modifier and Type | Method and Description |
|---|---|
Result.Builder |
alternatives(Alternative... alternatives)
A list of possible transcriptions for the audio.
|
Result.Builder |
alternatives(Collection<Alternative> alternatives)
A list of possible transcriptions for the audio.
|
Result.Builder |
alternatives(Consumer<Alternative.Builder>... alternatives)
A list of possible transcriptions for the audio.
|
Result.Builder |
channelId(String channelId)
When channel identification is enabled, Amazon Transcribe transcribes the speech from each audio channel
separately.
|
Result.Builder |
endTime(Double endTime)
The offset in seconds from the beginning of the audio stream to the end of the result.
|
Result.Builder |
isPartial(Boolean isPartial)
Amazon Transcribe divides the incoming audio stream into segments at natural points in the audio.
|
Result.Builder |
languageCode(LanguageCode languageCode)
The language code of the identified language in your media stream.
|
Result.Builder |
languageCode(String languageCode)
The language code of the identified language in your media stream.
|
Result.Builder |
languageIdentification(Collection<LanguageWithScore> languageIdentification)
The language code of the dominant language identified in your media.
|
Result.Builder |
languageIdentification(Consumer<LanguageWithScore.Builder>... languageIdentification)
The language code of the dominant language identified in your media.
|
Result.Builder |
languageIdentification(LanguageWithScore... languageIdentification)
The language code of the dominant language identified in your media.
|
Result.Builder |
resultId(String resultId)
A unique identifier for the result.
|
Result.Builder |
startTime(Double startTime)
The offset in seconds from the beginning of the audio stream to the beginning of the result.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResult.Builder resultId(String resultId)
A unique identifier for the result.
resultId - A unique identifier for the result.Result.Builder startTime(Double startTime)
The offset in seconds from the beginning of the audio stream to the beginning of the result.
startTime - The offset in seconds from the beginning of the audio stream to the beginning of the result.Result.Builder endTime(Double endTime)
The offset in seconds from the beginning of the audio stream to the end of the result.
endTime - The offset in seconds from the beginning of the audio stream to the end of the result.Result.Builder isPartial(Boolean isPartial)
Amazon Transcribe 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 has additional
transcription data to send, false to indicate that this is the last transcription result for the
segment.
isPartial - Amazon Transcribe 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 has
additional transcription data to send, false to indicate that this is the last
transcription result for the segment.
Result.Builder alternatives(Collection<Alternative> alternatives)
A list of possible transcriptions for the audio. Each alternative typically contains one item
that contains the result of the transcription.
alternatives - A list of possible transcriptions for the audio. Each alternative typically contains one
item that contains the result of the transcription.Result.Builder alternatives(Alternative... alternatives)
A list of possible transcriptions for the audio. Each alternative typically contains one item
that contains the result of the transcription.
alternatives - A list of possible transcriptions for the audio. Each alternative typically contains one
item that contains the result of the transcription.Result.Builder alternatives(Consumer<Alternative.Builder>... alternatives)
A list of possible transcriptions for 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) Result.Builder channelId(String channelId)
When channel identification is enabled, Amazon Transcribe 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 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.
Result.Builder languageCode(String languageCode)
The language code of the identified language in your media stream.
languageCode - The language code of the identified language in your media stream.LanguageCode,
LanguageCodeResult.Builder languageCode(LanguageCode languageCode)
The language code of the identified language in your media stream.
languageCode - The language code of the identified language in your media stream.LanguageCode,
LanguageCodeResult.Builder languageIdentification(Collection<LanguageWithScore> languageIdentification)
The language code of the dominant language identified in your media.
languageIdentification - The language code of the dominant language identified in your media.Result.Builder languageIdentification(LanguageWithScore... languageIdentification)
The language code of the dominant language identified in your media.
languageIdentification - The language code of the dominant language identified in your media.Result.Builder languageIdentification(Consumer<LanguageWithScore.Builder>... languageIdentification)
The language code of the dominant language identified in your media.
This is a convenience method that creates an instance of theList.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 #languageIdentification(List) .languageIdentification - a consumer that will call methods on List.Builder #languageIdentification(List) Copyright © 2022. All rights reserved.