Class DefaultCitation
java.lang.Object
software.amazon.awssdk.services.bedrockagentruntime.model.CitationEvent
software.amazon.awssdk.services.bedrockagentruntime.model.retrieveandgeneratestreamresponseoutput.DefaultCitation
- All Implemented Interfaces:
Serializable,SdkPojo,RetrieveAndGenerateStreamResponseOutput,ToCopyableBuilder<CitationEvent.Builder,CitationEvent>
@Generated("software.amazon.awssdk:codegen")
public final class DefaultCitation
extends CitationEvent
A specialization of
software.amazon.awssdk.services.bedrockagentruntime.model.CitationEvent that represents
the RetrieveAndGenerateStreamResponseOutput$citation event. Do not use this class directly. Instead, use the
static builder methods on
RetrieveAndGenerateStreamResponseOutput.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.RetrieveAndGenerateStreamResponseOutput
RetrieveAndGenerateStreamResponseOutput.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.RetrieveAndGenerateStreamResponseOutput
UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofCitationEvent.static DefaultCitation.Builderbuilder()The type of this event.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class software.amazon.awssdk.services.bedrockagentruntime.model.CitationEvent
citation, copy, equals, equalsBySdkFields, generatedResponsePart, getValueForField, hashCode, hasRetrievedReferences, retrievedReferences, sdkFieldNameToField, sdkFields, serializableBuilderClass, toString
-
Method Details
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CitationEvent.Builder,CitationEvent> - Overrides:
toBuilderin classCitationEvent- Returns:
- a builder for type T
-
builder
-
accept
Description copied from class:CitationEventCalls the appropriate visit method depending on the subtype ofCitationEvent.- Specified by:
acceptin interfaceRetrieveAndGenerateStreamResponseOutput- Overrides:
acceptin classCitationEvent- Parameters:
visitor- Visitor to invoke.
-
sdkEventType
Description copied from interface:RetrieveAndGenerateStreamResponseOutputThe type of this event. Corresponds to the:event-typeheader on the Message.
-