@Generated(value="software.amazon.awssdk:codegen") public static interface StartConversationResponseHandler.Visitor.Builder
StartConversationResponseHandler.Visitor. The StartConversationResponseHandler.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.StartConversationResponseHandler.Visitor.Builder onDefault(Consumer<StartConversationResponseEventStream> c)
c - Callback to process the event.StartConversationResponseHandler.Visitor build()
StartConversationResponseHandler.Visitor.Builder onPlaybackInterruptionEvent(Consumer<PlaybackInterruptionEvent> c)
PlaybackInterruptionEvent is visited.c - Callback to process the event.StartConversationResponseHandler.Visitor.Builder onTranscriptEvent(Consumer<TranscriptEvent> c)
TranscriptEvent is visited.c - Callback to process the event.StartConversationResponseHandler.Visitor.Builder onIntentResultEvent(Consumer<IntentResultEvent> c)
IntentResultEvent is visited.c - Callback to process the event.StartConversationResponseHandler.Visitor.Builder onTextResponseEvent(Consumer<TextResponseEvent> c)
TextResponseEvent is visited.c - Callback to process the event.StartConversationResponseHandler.Visitor.Builder onAudioResponseEvent(Consumer<AudioResponseEvent> c)
AudioResponseEvent is visited.c - Callback to process the event.StartConversationResponseHandler.Visitor.Builder onHeartbeatEvent(Consumer<HeartbeatEvent> c)
HeartbeatEvent is visited.c - Callback to process the event.Copyright © 2021. All rights reserved.