Interface FlowResponseStream

All Superinterfaces:
SdkPojo
All Known Implementing Classes:
DefaultFlowCompletionEvent, DefaultFlowMultiTurnInputRequestEvent, DefaultFlowOutputEvent, DefaultFlowTraceEvent, FlowCompletionEvent, FlowMultiTurnInputRequestEvent, FlowOutputEvent, FlowTraceEvent

@Generated("software.amazon.awssdk:codegen") public interface FlowResponseStream extends SdkPojo
Base interface for all event types in FlowResponseStream.
  • Field Details

  • Method Details

    • flowCompletionEventBuilder

      static FlowCompletionEvent.Builder flowCompletionEventBuilder()
      Create a builder for the flowCompletionEvent event type for this stream.
    • flowMultiTurnInputRequestEventBuilder

      static FlowMultiTurnInputRequestEvent.Builder flowMultiTurnInputRequestEventBuilder()
      Create a builder for the flowMultiTurnInputRequestEvent event type for this stream.
    • flowOutputEventBuilder

      static FlowOutputEvent.Builder flowOutputEventBuilder()
      Create a builder for the flowOutputEvent event type for this stream.
    • flowTraceEventBuilder

      static FlowTraceEvent.Builder flowTraceEventBuilder()
      Create a builder for the flowTraceEvent event type for this stream.
    • sdkEventType

      default FlowResponseStream.EventType sdkEventType()
      The type of this event. Corresponds to the :event-type header on the Message.
    • accept

      void accept(InvokeFlowResponseHandler.Visitor visitor)
      Calls the appropriate visit method depending on the subtype of FlowResponseStream.
      Parameters:
      visitor - Visitor to invoke.