Interface ResponseStream
- All Superinterfaces:
- SdkPojo
- All Known Implementing Classes:
- DefaultChunk,- PayloadPart
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
public interface ResponseStream
extends SdkPojo
Base interface for all event types in ResponseStream.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumThe known possible types of events forResponseStream.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ResponseStreamSpecial type ofResponseStreamfor unknown types of events that this version of the SDK does not know about
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofResponseStream.static PayloadPart.BuilderCreate a builder for thechunkevent type for this stream.default ResponseStream.EventTypeThe type of this event.Methods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Field Details- 
UNKNOWNSpecial type ofResponseStreamfor unknown types of events that this version of the SDK does not know about
 
- 
- 
Method Details- 
chunkBuilderCreate a builder for thechunkevent type for this stream.
- 
sdkEventTypeThe type of this event. Corresponds to the:event-typeheader on the Message.
- 
acceptCalls the appropriate visit method depending on the subtype ofResponseStream.- Parameters:
- visitor- Visitor to invoke.
 
 
-