Interface ChatOutputStream
-
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
ActionReviewEvent,AuthChallengeRequestEvent,DefaultActionReviewEvent,DefaultAuthChallengeRequestEvent,DefaultFailedAttachmentEvent,DefaultMetadataEvent,DefaultTextEvent,FailedAttachmentEvent,MetadataEvent,TextOutputEvent
@Generated("software.amazon.awssdk:codegen") public interface ChatOutputStream extends SdkPojo
Base interface for all event types in ChatOutputStream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChatOutputStream.EventTypeThe known possible types of events forChatOutputStream.
-
Field Summary
Fields Modifier and Type Field Description static ChatOutputStreamUNKNOWNSpecial type ofChatOutputStreamfor 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(ChatResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofChatOutputStream.static ActionReviewEvent.BuilderactionReviewEventBuilder()Create a builder for theactionReviewEventevent type for this stream.static AuthChallengeRequestEvent.BuilderauthChallengeRequestEventBuilder()Create a builder for theauthChallengeRequestEventevent type for this stream.static FailedAttachmentEvent.BuilderfailedAttachmentEventBuilder()Create a builder for thefailedAttachmentEventevent type for this stream.static MetadataEvent.BuildermetadataEventBuilder()Create a builder for themetadataEventevent type for this stream.default ChatOutputStream.EventTypesdkEventType()The type of this event.static TextOutputEvent.BuildertextEventBuilder()Create a builder for thetextEventevent type for this stream.-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Field Detail
-
UNKNOWN
static final ChatOutputStream UNKNOWN
Special type ofChatOutputStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Detail
-
textEventBuilder
static TextOutputEvent.Builder textEventBuilder()
Create a builder for thetextEventevent type for this stream.
-
metadataEventBuilder
static MetadataEvent.Builder metadataEventBuilder()
Create a builder for themetadataEventevent type for this stream.
-
actionReviewEventBuilder
static ActionReviewEvent.Builder actionReviewEventBuilder()
Create a builder for theactionReviewEventevent type for this stream.
-
failedAttachmentEventBuilder
static FailedAttachmentEvent.Builder failedAttachmentEventBuilder()
Create a builder for thefailedAttachmentEventevent type for this stream.
-
authChallengeRequestEventBuilder
static AuthChallengeRequestEvent.Builder authChallengeRequestEventBuilder()
Create a builder for theauthChallengeRequestEventevent type for this stream.
-
sdkEventType
default ChatOutputStream.EventType sdkEventType()
The type of this event. Corresponds to the:event-typeheader on the Message.
-
accept
void accept(ChatResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofChatOutputStream.- Parameters:
visitor- Visitor to invoke.
-
-