Interface InvokeAssistantResponseHandler.Visitor.Builder
- Enclosing interface:
InvokeAssistantResponseHandler.Visitor
@Generated("software.amazon.awssdk:codegen")
public static interface InvokeAssistantResponseHandler.Visitor.Builder
Builder for
InvokeAssistantResponseHandler.Visitor
. The InvokeAssistantResponseHandler.Visitor
class may also be extended for a more traditional style but
this builder allows for a more functional way of creating a visitor will callback methods.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Callback to invoke when either an unknown event is visited or an unhandled event is visited.Callback to invoke when aInvocationOutput
is visited.Callback to invoke when aTrace
is visited.
-
Method Details
-
onDefault
Callback to invoke when either an unknown event is visited or an unhandled event is visited.- Parameters:
c
- Callback to process the event.- Returns:
- This builder for method chaining.
-
build
- Returns:
- Visitor implementation.
-
onTrace
Callback to invoke when aTrace
is visited.- Parameters:
c
- Callback to process the event.- Returns:
- This builder for method chaining.
-
onOutput
Callback to invoke when aInvocationOutput
is visited.- Parameters:
c
- Callback to process the event.- Returns:
- This builder for method chaining.
-