Interface InvokeModelWithBidirectionalStreamResponseHandler.Builder

All Superinterfaces:
EventStreamResponseHandler.Builder<InvokeModelWithBidirectionalStreamResponse,InvokeModelWithBidirectionalStreamOutput,InvokeModelWithBidirectionalStreamResponseHandler.Builder>
Enclosing interface:
InvokeModelWithBidirectionalStreamResponseHandler

@Generated("software.amazon.awssdk:codegen") public static interface InvokeModelWithBidirectionalStreamResponseHandler.Builder extends EventStreamResponseHandler.Builder<InvokeModelWithBidirectionalStreamResponse,InvokeModelWithBidirectionalStreamOutput,InvokeModelWithBidirectionalStreamResponseHandler.Builder>
Builder for InvokeModelWithBidirectionalStreamResponseHandler. This can be used to create the InvokeModelWithBidirectionalStreamResponseHandler in a more functional way. Directly implementing the InvokeModelWithBidirectionalStreamResponseHandler interface is possible but requires subscribing to the event publisher, requesting data via the Subscription, resetting state on retry, and freeing resources on error; the builder handles all of this automatically.