Interface InvokeModelWithBidirectionalStreamResponseHandler.Visitor
- Enclosing interface:
- InvokeModelWithBidirectionalStreamResponseHandler
@Generated("software.amazon.awssdk:codegen")
public static interface InvokeModelWithBidirectionalStreamResponseHandler.Visitor
Visitor for subtypes of 
InvokeModelWithBidirectionalStreamOutput.- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interface
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default voidInvoked when aBidirectionalOutputPayloadPartis encountered.default voidA required "else" or "default" block, invoked when no other more-specific "visit" method is appropriate.
- 
Method Details- 
builder
- 
visitDefaultA required "else" or "default" block, invoked when no other more-specific "visit" method is appropriate. This is invoked under two circumstances:- The event encountered is newer than the current version of the SDK, so no other more-specific "visit"
 method could be called. In this case, the provided event will be a generic
 InvokeModelWithBidirectionalStreamOutput. These events can be processed by upgrading the SDK.
- The event is known by the SDK, but the "visit" was not overridden above. In this case, the provided event
 will be a specific type of InvokeModelWithBidirectionalStreamOutput.
 - Parameters:
- event- The event that was not handled by a more-specific "visit" method.
 
- The event encountered is newer than the current version of the SDK, so no other more-specific "visit"
 method could be called. In this case, the provided event will be a generic
 
- 
visitChunkInvoked when aBidirectionalOutputPayloadPartis encountered. If this is not overridden, the event will be given tovisitDefault(InvokeModelWithBidirectionalStreamOutput).- Parameters:
- event- Event being visited
 
 
-