public static interface TranscriptEvent.Builder extends SdkPojo, CopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>
Modifier and Type | Method and Description |
---|---|
default TranscriptEvent.Builder |
transcript(Consumer<Transcript.Builder> transcript)
The transcription of the audio stream.
|
TranscriptEvent.Builder |
transcript(Transcript transcript)
The transcription of the audio stream.
|
copy
applyMutation, build
TranscriptEvent.Builder transcript(Transcript transcript)
The transcription of the audio stream. The transcription is composed of all of the items in the results list.
transcript
- The transcription of the audio stream. The transcription is composed of all of the items in the
results list.default TranscriptEvent.Builder transcript(Consumer<Transcript.Builder> transcript)
The transcription of the audio stream. The transcription is composed of all of the items in the results list.
This is a convenience that creates an instance of theTranscript.Builder
avoiding the need to create
one manually via Transcript.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to transcript(Transcript)
.transcript
- a consumer that will call methods on Transcript.Builder
transcript(Transcript)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.