Interface ChatOutputStream
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
ActionReviewEvent,AuthChallengeRequestEvent,DefaultActionReviewEvent,DefaultAuthChallengeRequestEvent,DefaultFailedAttachmentEvent,DefaultMetadataEvent,DefaultTextEvent,FailedAttachmentEvent,MetadataEvent,TextOutputEvent
Base interface for all event types in ChatOutputStream.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe known possible types of events forChatOutputStream. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChatOutputStreamSpecial type ofChatOutputStreamfor unknown types of events that this version of the SDK does not know about -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ChatResponseHandler.Visitor visitor) Calls the appropriate visit method depending on the subtype ofChatOutputStream.static ActionReviewEvent.BuilderCreate a builder for theactionReviewEventevent type for this stream.Create a builder for theauthChallengeRequestEventevent type for this stream.Create a builder for thefailedAttachmentEventevent type for this stream.static MetadataEvent.BuilderCreate a builder for themetadataEventevent type for this stream.default ChatOutputStream.EventTypeThe type of this event.static TextOutputEvent.BuilderCreate a builder for thetextEventevent type for this stream.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Field Details
-
UNKNOWN
Special type ofChatOutputStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
textEventBuilder
Create a builder for thetextEventevent type for this stream. -
metadataEventBuilder
Create a builder for themetadataEventevent type for this stream. -
actionReviewEventBuilder
Create a builder for theactionReviewEventevent type for this stream. -
failedAttachmentEventBuilder
Create a builder for thefailedAttachmentEventevent type for this stream. -
authChallengeRequestEventBuilder
Create a builder for theauthChallengeRequestEventevent 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 ofChatOutputStream.- Parameters:
visitor- Visitor to invoke.
-