Interface StartLiveTailResponseHandler.Visitor.Builder
- Enclosing interface:
StartLiveTailResponseHandler.Visitor
@Generated("software.amazon.awssdk:codegen")
public static interface StartLiveTailResponseHandler.Visitor.Builder
Builder for
StartLiveTailResponseHandler.Visitor
. The StartLiveTailResponseHandler.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 aLiveTailSessionStart
is visited.Callback to invoke when aLiveTailSessionUpdate
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.
-
onSessionStart
Callback to invoke when aLiveTailSessionStart
is visited.- Parameters:
c
- Callback to process the event.- Returns:
- This builder for method chaining.
-
onSessionUpdate
Callback to invoke when aLiveTailSessionUpdate
is visited.- Parameters:
c
- Callback to process the event.- Returns:
- This builder for method chaining.
-