Interface RetrieveAndGenerateStreamResponseOutput
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
CitationEvent,DefaultCitation,DefaultGuardrail,DefaultOutput,GuardrailEvent,RetrieveAndGenerateOutputEvent
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
public interface RetrieveAndGenerateStreamResponseOutput
extends SdkPojo
Base interface for all event types in RetrieveAndGenerateStreamResponseOutput.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe known possible types of events forRetrieveAndGenerateStreamResponseOutput. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RetrieveAndGenerateStreamResponseOutputSpecial type ofRetrieveAndGenerateStreamResponseOutputfor 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 ofRetrieveAndGenerateStreamResponseOutput.static CitationEvent.BuilderCreate a builder for thecitationevent type for this stream.static GuardrailEvent.BuilderCreate a builder for theguardrailevent type for this stream.Create a builder for theoutputevent type for this stream.The type of this event.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Field Details
-
UNKNOWN
Special type ofRetrieveAndGenerateStreamResponseOutputfor unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
outputBuilder
Create a builder for theoutputevent type for this stream. -
citationBuilder
Create a builder for thecitationevent type for this stream. -
guardrailBuilder
Create a builder for theguardrailevent 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 ofRetrieveAndGenerateStreamResponseOutput.- Parameters:
visitor- Visitor to invoke.
-