Interface AgentOutputMessageStream
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
DefaultEndOfOutputEvent,DefaultErrorEvent,DefaultHeartbeatEvent,DefaultProgressEvent,DefaultTextMessageEvent,EndOfOutputEvent,ErrorEvent,HeartbeatEvent,ProgressEvent,TextMessageEvent
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
public interface AgentOutputMessageStream
extends SdkPojo
Base interface for all event types in AgentOutputMessageStream.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe known possible types of events forAgentOutputMessageStream. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AgentOutputMessageStreamSpecial type ofAgentOutputMessageStreamfor 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 ofAgentOutputMessageStream.static EndOfOutputEvent.BuilderCreate a builder for theEndOfOutputEventevent type for this stream.static ErrorEvent.BuilderCreate a builder for theErrorEventevent type for this stream.static HeartbeatEvent.BuilderCreate a builder for theHeartbeatEventevent type for this stream.static ProgressEvent.BuilderCreate a builder for theProgressEventevent type for this stream.The type of this event.static TextMessageEvent.BuilderCreate a builder for theTextMessageEventevent type for this stream.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Field Details
-
UNKNOWN
Special type ofAgentOutputMessageStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
textMessageEventBuilder
Create a builder for theTextMessageEventevent type for this stream. -
progressEventBuilder
Create a builder for theProgressEventevent type for this stream. -
heartbeatEventBuilder
Create a builder for theHeartbeatEventevent type for this stream. -
errorEventBuilder
Create a builder for theErrorEventevent type for this stream. -
endOfOutputEventBuilder
Create a builder for theEndOfOutputEventevent 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 ofAgentOutputMessageStream.- Parameters:
visitor- Visitor to invoke.
-