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 enum
The known possible types of events forConverseStreamOutput
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConverseStreamOutput
Special type ofConverseStreamOutput
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 ofConverseStreamOutput
.Create a builder for thecontentBlockDelta
event type for this stream.Create a builder for thecontentBlockStart
event type for this stream.Create a builder for thecontentBlockStop
event type for this stream.static MessageStartEvent.Builder
Create a builder for themessageStart
event type for this stream.static MessageStopEvent.Builder
Create a builder for themessageStop
event type for this stream.Create a builder for themetadata
event type for this stream.default ConverseStreamOutput.EventType
The type of this event.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Field Details
-
UNKNOWN
Special type ofConverseStreamOutput
for unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
messageStartBuilder
Create a builder for themessageStart
event type for this stream. -
contentBlockStartBuilder
Create a builder for thecontentBlockStart
event type for this stream. -
contentBlockDeltaBuilder
Create a builder for thecontentBlockDelta
event type for this stream. -
contentBlockStopBuilder
Create a builder for thecontentBlockStop
event type for this stream. -
messageStopBuilder
Create a builder for themessageStop
event type for this stream. -
metadataBuilder
Create a builder for themetadata
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 ofConverseStreamOutput
.- Parameters:
visitor
- Visitor to invoke.
-