@Generated(value="software.amazon.awssdk:codegen") public static interface StartStreamTranscriptionResponseHandler.Visitor.Builder
StartStreamTranscriptionResponseHandler.Visitor
. The StartStreamTranscriptionResponseHandler.Visitor
class may also be extended for a more traditional style but
this builder allows for a more functional way of creating a visitor will callback methods.Modifier and Type | Method and Description |
---|---|
StartStreamTranscriptionResponseHandler.Visitor |
build() |
StartStreamTranscriptionResponseHandler.Visitor.Builder |
onDefault(Consumer<TranscriptResultStream> c)
Callback to invoke when either an unknown event is visited or an unhandled event is visited.
|
StartStreamTranscriptionResponseHandler.Visitor.Builder |
onTranscriptEvent(Consumer<TranscriptEvent> c)
Callback to invoke when a
TranscriptEvent is visited. |
StartStreamTranscriptionResponseHandler.Visitor.Builder onDefault(Consumer<TranscriptResultStream> c)
c
- Callback to process the event.StartStreamTranscriptionResponseHandler.Visitor build()
StartStreamTranscriptionResponseHandler.Visitor.Builder onTranscriptEvent(Consumer<TranscriptEvent> c)
TranscriptEvent
is visited.c
- Callback to process the event.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.