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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFlowResponseStream.EventTypeThe known possible types of events forFlowResponseStream.
-
Field Summary
Fields Modifier and Type Field Description static FlowResponseStreamUNKNOWNSpecial type ofFlowResponseStreamfor unknown types of events that this version of the SDK does not know about
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(InvokeFlowResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofFlowResponseStream.static FlowCompletionEvent.BuilderflowCompletionEventBuilder()Create a builder for theflowCompletionEventevent type for this stream.static FlowMultiTurnInputRequestEvent.BuilderflowMultiTurnInputRequestEventBuilder()Create a builder for theflowMultiTurnInputRequestEventevent type for this stream.static FlowOutputEvent.BuilderflowOutputEventBuilder()Create a builder for theflowOutputEventevent type for this stream.static FlowTraceEvent.BuilderflowTraceEventBuilder()Create a builder for theflowTraceEventevent type for this stream.default FlowResponseStream.EventTypesdkEventType()The type of this event.-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Field Detail
-
UNKNOWN
static final FlowResponseStream UNKNOWN
Special type ofFlowResponseStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Detail
-
flowCompletionEventBuilder
static FlowCompletionEvent.Builder flowCompletionEventBuilder()
Create a builder for theflowCompletionEventevent type for this stream.
-
flowMultiTurnInputRequestEventBuilder
static FlowMultiTurnInputRequestEvent.Builder flowMultiTurnInputRequestEventBuilder()
Create a builder for theflowMultiTurnInputRequestEventevent type for this stream.
-
flowOutputEventBuilder
static FlowOutputEvent.Builder flowOutputEventBuilder()
Create a builder for theflowOutputEventevent type for this stream.
-
flowTraceEventBuilder
static FlowTraceEvent.Builder flowTraceEventBuilder()
Create a builder for theflowTraceEventevent type for this stream.
-
sdkEventType
default FlowResponseStream.EventType sdkEventType()
The type of this event. Corresponds to the:event-typeheader on the Message.
-
accept
void accept(InvokeFlowResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofFlowResponseStream.- Parameters:
visitor- Visitor to invoke.
-
-