Interface ResponseStream

All Superinterfaces:
SdkPojo
All Known Implementing Classes:
DefaultOutput, DefaultTrace, InvocationOutput, Trace

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

    • UNKNOWN

      static final ResponseStream UNKNOWN
      Special type of ResponseStream for unknown types of events that this version of the SDK does not know about
  • Method Details

    • traceBuilder

      static Trace.Builder traceBuilder()
      Create a builder for the trace event type for this stream.
    • outputBuilder

      static InvocationOutput.Builder outputBuilder()
      Create a builder for the output event type for this stream.
    • sdkEventType

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

      Calls the appropriate visit method depending on the subtype of ResponseStream.
      Parameters:
      visitor - Visitor to invoke.