@Generated(value="software.amazon.awssdk:codegen") public static interface StartMedicalStreamTranscriptionResponseHandler.Builder extends EventStreamResponseHandler.Builder<StartMedicalStreamTranscriptionResponse,MedicalTranscriptResultStream,StartMedicalStreamTranscriptionResponseHandler.Builder>
StartMedicalStreamTranscriptionResponseHandler. This can be used to create the
StartMedicalStreamTranscriptionResponseHandler in a more functional way, you may also directly implement
the StartMedicalStreamTranscriptionResponseHandler interface if preferred.| Modifier and Type | Method and Description |
|---|---|
StartMedicalStreamTranscriptionResponseHandler |
build() |
StartMedicalStreamTranscriptionResponseHandler.Builder |
subscriber(StartMedicalStreamTranscriptionResponseHandler.Visitor visitor)
Sets the subscriber to the
Publisher of events. |
onComplete, onError, onEventStream, onResponse, publisherTransformer, subscriber, subscriberStartMedicalStreamTranscriptionResponseHandler.Builder subscriber(StartMedicalStreamTranscriptionResponseHandler.Visitor visitor)
Publisher of events. The given StartMedicalStreamTranscriptionResponseHandler.Visitor will be
called for each event received by the publisher. Events are requested sequentially after each event is
processed. If you need more control over the backpressure strategy consider using
EventStreamResponseHandler.Builder.subscriber(java.util.function.Supplier) instead.visitor - Visitor that will be invoked for each incoming event.StartMedicalStreamTranscriptionResponseHandler build()
StartMedicalStreamTranscriptionResponseHandler implementation that can be used in the
StartMedicalStreamTranscription API call.Copyright © 2023. All rights reserved.