Interface ResponseStream
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
DefaultChunk,DefaultFiles,DefaultReturnControl,DefaultTrace,FilePart,PayloadPart,ReturnControlPayload,TracePart
Base interface for all event types in ResponseStream.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe known possible types of events forResponseStream. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResponseStreamSpecial type ofResponseStreamfor unknown types of events that this version of the SDK does not know about -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InvokeAgentResponseHandler.Visitor visitor) Calls the appropriate visit method depending on the subtype ofResponseStream.static PayloadPart.BuilderCreate a builder for thechunkevent type for this stream.static FilePart.BuilderCreate a builder for thefilesevent type for this stream.static ReturnControlPayload.BuilderCreate a builder for thereturnControlevent type for this stream.default ResponseStream.EventTypeThe type of this event.static TracePart.BuilderCreate a builder for thetraceevent type for this stream.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Field Details
-
UNKNOWN
Special type ofResponseStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
chunkBuilder
Create a builder for thechunkevent type for this stream. -
filesBuilder
Create a builder for thefilesevent type for this stream. -
returnControlBuilder
Create a builder for thereturnControlevent type for this stream. -
traceBuilder
Create a builder for thetraceevent type for this stream. -
sdkEventType
The type of this event. Corresponds to the:event-typeheader on the Message. -
accept
Calls the appropriate visit method depending on the subtype ofResponseStream.- Parameters:
visitor- Visitor to invoke.
-