Interface ResponseStream
-
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
DefaultChunk,DefaultTrace,PayloadPart,TracePart
@Generated("software.amazon.awssdk:codegen") public interface ResponseStream extends SdkPojo
Base interface for all event types in ResponseStream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResponseStream.EventTypeThe known possible types of events forResponseStream.
-
Field Summary
Fields Modifier and Type Field Description static ResponseStreamUNKNOWNSpecial type ofResponseStreamfor 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(InvokeAgentResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofResponseStream.static PayloadPart.BuilderchunkBuilder()Create a builder for thechunkevent type for this stream.default ResponseStream.EventTypesdkEventType()The type of this event.static TracePart.BuildertraceBuilder()Create a builder for thetraceevent type for this stream.-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Field Detail
-
UNKNOWN
static final ResponseStream UNKNOWN
Special type ofResponseStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Detail
-
chunkBuilder
static PayloadPart.Builder chunkBuilder()
Create a builder for thechunkevent type for this stream.
-
traceBuilder
static TracePart.Builder traceBuilder()
Create a builder for thetraceevent type for this stream.
-
sdkEventType
default ResponseStream.EventType sdkEventType()
The type of this event. Corresponds to the:event-typeheader on the Message.
-
accept
void accept(InvokeAgentResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofResponseStream.- Parameters:
visitor- Visitor to invoke.
-
-