@Generated(value="software.amazon.awssdk:codegen") public interface ResponseStream extends SdkPojo
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResponseStream.EventType
The known possible types of events for
ResponseStream. |
| Modifier and Type | Field and Description |
|---|---|
static ResponseStream |
UNKNOWN
Special type of
ResponseStream for unknown types of events that this version of the SDK does not know
about |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(InvokeEndpointWithResponseStreamResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype of
ResponseStream. |
static PayloadPart.Builder |
payloadPartBuilder()
Create a builder for the
PayloadPart event type for this stream. |
default ResponseStream.EventType |
sdkEventType()
The type of this event.
|
equalsBySdkFields, sdkFieldsstatic final ResponseStream UNKNOWN
ResponseStream for unknown types of events that this version of the SDK does not know
aboutstatic PayloadPart.Builder payloadPartBuilder()
PayloadPart event type for this stream.default ResponseStream.EventType sdkEventType()
:event-type header on the Message.void accept(InvokeEndpointWithResponseStreamResponseHandler.Visitor visitor)
ResponseStream.visitor - Visitor to invoke.Copyright © 2023. All rights reserved.