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 ClassesModifier and TypeInterfaceDescriptionstatic enum
The known possible types of events forInlineAgentResponseStream
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InlineAgentResponseStream
Special type ofInlineAgentResponseStream
for unknown types of events that this version of the SDK does not know about -
Method Summary
Modifier and TypeMethodDescriptionvoid
Calls the appropriate visit method depending on the subtype ofInlineAgentResponseStream
.Create a builder for thechunk
event type for this stream.static InlineAgentFilePart.Builder
Create a builder for thefiles
event type for this stream.Create a builder for thereturnControl
event type for this stream.The type of this event.static InlineAgentTracePart.Builder
Create a builder for thetrace
event type for this stream.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Field Details
-
UNKNOWN
Special type ofInlineAgentResponseStream
for unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
chunkBuilder
Create a builder for thechunk
event type for this stream. -
filesBuilder
Create a builder for thefiles
event type for this stream. -
returnControlBuilder
Create a builder for thereturnControl
event type for this stream. -
traceBuilder
Create a builder for thetrace
event type for this stream. -
sdkEventType
The type of this event. Corresponds to the:event-type
header on the Message. -
accept
Calls the appropriate visit method depending on the subtype ofInlineAgentResponseStream
.- Parameters:
visitor
- Visitor to invoke.
-