Interface InlineAgentResponseStream
-
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
DefaultChunk,DefaultFiles,DefaultReturnControl,DefaultTrace,InlineAgentFilePart,InlineAgentPayloadPart,InlineAgentReturnControlPayload,InlineAgentTracePart
@Generated("software.amazon.awssdk:codegen") public interface InlineAgentResponseStream extends SdkPojo
Base interface for all event types in InlineAgentResponseStream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInlineAgentResponseStream.EventTypeThe known possible types of events forInlineAgentResponseStream.
-
Field Summary
Fields Modifier and Type Field Description static InlineAgentResponseStreamUNKNOWNSpecial type ofInlineAgentResponseStreamfor 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(InvokeInlineAgentResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofInlineAgentResponseStream.static InlineAgentPayloadPart.BuilderchunkBuilder()Create a builder for thechunkevent type for this stream.static InlineAgentFilePart.BuilderfilesBuilder()Create a builder for thefilesevent type for this stream.static InlineAgentReturnControlPayload.BuilderreturnControlBuilder()Create a builder for thereturnControlevent type for this stream.default InlineAgentResponseStream.EventTypesdkEventType()The type of this event.static InlineAgentTracePart.BuildertraceBuilder()Create a builder for thetraceevent type for this stream.-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Field Detail
-
UNKNOWN
static final InlineAgentResponseStream UNKNOWN
Special type ofInlineAgentResponseStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Detail
-
chunkBuilder
static InlineAgentPayloadPart.Builder chunkBuilder()
Create a builder for thechunkevent type for this stream.
-
filesBuilder
static InlineAgentFilePart.Builder filesBuilder()
Create a builder for thefilesevent type for this stream.
-
returnControlBuilder
static InlineAgentReturnControlPayload.Builder returnControlBuilder()
Create a builder for thereturnControlevent type for this stream.
-
traceBuilder
static InlineAgentTracePart.Builder traceBuilder()
Create a builder for thetraceevent type for this stream.
-
sdkEventType
default InlineAgentResponseStream.EventType sdkEventType()
The type of this event. Corresponds to the:event-typeheader on the Message.
-
accept
void accept(InvokeInlineAgentResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofInlineAgentResponseStream.- Parameters:
visitor- Visitor to invoke.
-
-