public static interface Transcript.Builder extends SdkPojo, CopyableBuilder<Transcript.Builder,Transcript>
Modifier and Type | Method and Description |
---|---|
Transcript.Builder |
results(Collection<Result> results)
Result objects that contain the results of transcribing a portion of the input audio stream.
|
Transcript.Builder |
results(Consumer<Result.Builder>... results)
Result objects that contain the results of transcribing a portion of the input audio stream.
|
Transcript.Builder |
results(Result... results)
Result objects that contain the results of transcribing a portion of the input audio stream.
|
copy
applyMutation, build
Transcript.Builder results(Collection<Result> results)
Result objects that contain the results of transcribing a portion of the input audio stream. The array can be empty.
results
- Result objects that contain the results of transcribing a portion of the input audio stream.
The array can be empty.Transcript.Builder results(Result... results)
Result objects that contain the results of transcribing a portion of the input audio stream. The array can be empty.
results
- Result objects that contain the results of transcribing a portion of the input audio stream.
The array can be empty.Transcript.Builder results(Consumer<Result.Builder>... results)
Result objects that contain the results of transcribing a portion of the input audio stream. The array can be empty.
This is a convenience 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 #results(List)
.results
- a consumer that will call methods on List.Builder
#results(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.