Interface ResponseStream
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
DefaultOutput
,DefaultTrace
,InvocationOutput
,Trace
Base interface for all event types in ResponseStream.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
The known possible types of events forResponseStream
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResponseStream
Special type ofResponseStream
for unknown types of events that this version of the SDK does not know about -
Method Summary
Modifier and TypeMethodDescriptionvoid
Calls the appropriate visit method depending on the subtype ofResponseStream
.static InvocationOutput.Builder
Create a builder for theoutput
event type for this stream.default ResponseStream.EventType
The type of this event.static Trace.Builder
Create a builder for thetrace
event type for this stream.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Field Details
-
UNKNOWN
Special type ofResponseStream
for unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
traceBuilder
Create a builder for thetrace
event type for this stream. -
outputBuilder
Create a builder for theoutput
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 ofResponseStream
.- Parameters:
visitor
- Visitor to invoke.
-