Interface ConverseStreamOutput
-
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
ContentBlockDeltaEvent,ContentBlockStartEvent,ContentBlockStopEvent,ConverseStreamMetadataEvent,DefaultContentBlockDelta,DefaultContentBlockStart,DefaultContentBlockStop,DefaultMessageStart,DefaultMessageStop,DefaultMetadata,MessageStartEvent,MessageStopEvent
@Generated("software.amazon.awssdk:codegen") public interface ConverseStreamOutput extends SdkPojo
Base interface for all event types in ConverseStreamOutput.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConverseStreamOutput.EventTypeThe known possible types of events forConverseStreamOutput.
-
Field Summary
Fields Modifier and Type Field Description static ConverseStreamOutputUNKNOWNSpecial type ofConverseStreamOutputfor 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(ConverseStreamResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofConverseStreamOutput.static ContentBlockDeltaEvent.BuildercontentBlockDeltaBuilder()Create a builder for thecontentBlockDeltaevent type for this stream.static ContentBlockStartEvent.BuildercontentBlockStartBuilder()Create a builder for thecontentBlockStartevent type for this stream.static ContentBlockStopEvent.BuildercontentBlockStopBuilder()Create a builder for thecontentBlockStopevent type for this stream.static MessageStartEvent.BuildermessageStartBuilder()Create a builder for themessageStartevent type for this stream.static MessageStopEvent.BuildermessageStopBuilder()Create a builder for themessageStopevent type for this stream.static ConverseStreamMetadataEvent.BuildermetadataBuilder()Create a builder for themetadataevent type for this stream.default ConverseStreamOutput.EventTypesdkEventType()The type of this event.-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Field Detail
-
UNKNOWN
static final ConverseStreamOutput UNKNOWN
Special type ofConverseStreamOutputfor unknown types of events that this version of the SDK does not know about
-
-
Method Detail
-
messageStartBuilder
static MessageStartEvent.Builder messageStartBuilder()
Create a builder for themessageStartevent type for this stream.
-
contentBlockStartBuilder
static ContentBlockStartEvent.Builder contentBlockStartBuilder()
Create a builder for thecontentBlockStartevent type for this stream.
-
contentBlockDeltaBuilder
static ContentBlockDeltaEvent.Builder contentBlockDeltaBuilder()
Create a builder for thecontentBlockDeltaevent type for this stream.
-
contentBlockStopBuilder
static ContentBlockStopEvent.Builder contentBlockStopBuilder()
Create a builder for thecontentBlockStopevent type for this stream.
-
messageStopBuilder
static MessageStopEvent.Builder messageStopBuilder()
Create a builder for themessageStopevent type for this stream.
-
metadataBuilder
static ConverseStreamMetadataEvent.Builder metadataBuilder()
Create a builder for themetadataevent type for this stream.
-
sdkEventType
default ConverseStreamOutput.EventType sdkEventType()
The type of this event. Corresponds to the:event-typeheader on the Message.
-
accept
void accept(ConverseStreamResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofConverseStreamOutput.- Parameters:
visitor- Visitor to invoke.
-
-