Interface SubscribeToShardResponseHandler.Builder

All Superinterfaces:
EventStreamResponseHandler.Builder<SubscribeToShardResponse,SubscribeToShardEventStream,SubscribeToShardResponseHandler.Builder>
Enclosing interface:
SubscribeToShardResponseHandler

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