Interface FlowResponseStream
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
DefaultFlowCompletionEvent
,DefaultFlowMultiTurnInputRequestEvent
,DefaultFlowOutputEvent
,DefaultFlowTraceEvent
,FlowCompletionEvent
,FlowMultiTurnInputRequestEvent
,FlowOutputEvent
,FlowTraceEvent
Base interface for all event types in FlowResponseStream.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
The known possible types of events forFlowResponseStream
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FlowResponseStream
Special type ofFlowResponseStream
for unknown types of events that this version of the SDK does not know about -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(InvokeFlowResponseHandler.Visitor visitor) Calls the appropriate visit method depending on the subtype ofFlowResponseStream
.static FlowCompletionEvent.Builder
Create a builder for theflowCompletionEvent
event type for this stream.Create a builder for theflowMultiTurnInputRequestEvent
event type for this stream.static FlowOutputEvent.Builder
Create a builder for theflowOutputEvent
event type for this stream.static FlowTraceEvent.Builder
Create a builder for theflowTraceEvent
event type for this stream.default FlowResponseStream.EventType
The type of this event.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Field Details
-
UNKNOWN
Special type ofFlowResponseStream
for unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
flowCompletionEventBuilder
Create a builder for theflowCompletionEvent
event type for this stream. -
flowMultiTurnInputRequestEventBuilder
Create a builder for theflowMultiTurnInputRequestEvent
event type for this stream. -
flowOutputEventBuilder
Create a builder for theflowOutputEvent
event type for this stream. -
flowTraceEventBuilder
Create a builder for theflowTraceEvent
event type for this stream. -
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 ofFlowResponseStream
.- Parameters:
visitor
- Visitor to invoke.
-