Interface ConverseStreamOutput
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
ContentBlockDeltaEvent,ContentBlockStartEvent,ContentBlockStopEvent,ConverseStreamMetadataEvent,DefaultContentBlockDelta,DefaultContentBlockStart,DefaultContentBlockStop,DefaultMessageStart,DefaultMessageStop,DefaultMetadata,MessageStartEvent,MessageStopEvent
Base interface for all event types in ConverseStreamOutput.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe known possible types of events forConverseStreamOutput. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConverseStreamOutputSpecial type ofConverseStreamOutputfor unknown types of events that this version of the SDK does not know about -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofConverseStreamOutput.Create a builder for thecontentBlockDeltaevent type for this stream.Create a builder for thecontentBlockStartevent type for this stream.Create a builder for thecontentBlockStopevent type for this stream.static MessageStartEvent.BuilderCreate a builder for themessageStartevent type for this stream.static MessageStopEvent.BuilderCreate a builder for themessageStopevent type for this stream.Create a builder for themetadataevent type for this stream.default ConverseStreamOutput.EventTypeThe type of this event.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Field Details
-
UNKNOWN
Special type ofConverseStreamOutputfor unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
messageStartBuilder
Create a builder for themessageStartevent type for this stream. -
contentBlockStartBuilder
Create a builder for thecontentBlockStartevent type for this stream. -
contentBlockDeltaBuilder
Create a builder for thecontentBlockDeltaevent type for this stream. -
contentBlockStopBuilder
Create a builder for thecontentBlockStopevent type for this stream. -
messageStopBuilder
Create a builder for themessageStopevent type for this stream. -
metadataBuilder
Create a builder for themetadataevent 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 ofConverseStreamOutput.- Parameters:
visitor- Visitor to invoke.
-