Interface InvokeAssistantResponseHandler.Builder

All Superinterfaces:
EventStreamResponseHandler.Builder<InvokeAssistantResponse,ResponseStream,InvokeAssistantResponseHandler.Builder>
Enclosing interface:
InvokeAssistantResponseHandler

@Generated("software.amazon.awssdk:codegen") public static interface InvokeAssistantResponseHandler.Builder extends EventStreamResponseHandler.Builder<InvokeAssistantResponse,ResponseStream,InvokeAssistantResponseHandler.Builder>
Builder for InvokeAssistantResponseHandler. This can be used to create the InvokeAssistantResponseHandler in a more functional way. Directly implementing the InvokeAssistantResponseHandler 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.