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> 
@SdkInternalApi
@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 SummaryNested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.RetrieveAndGenerateStreamResponseOutputRetrieveAndGenerateStreamResponseOutput.EventType
- 
Field SummaryFields inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.RetrieveAndGenerateStreamResponseOutputUNKNOWN
- 
Method SummaryModifier 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.CitationEventcitation, copy, equals, equalsBySdkFields, generatedResponsePart, getValueForField, hashCode, hasRetrievedReferences, retrievedReferences, sdkFieldNameToField, sdkFields, serializableBuilderClass, toString
- 
Method Details- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<CitationEvent.Builder,- CitationEvent> 
- Overrides:
- toBuilderin class- CitationEvent
- Returns:
- a builder for type T
 
- 
builder
- 
acceptDescription copied from class:CitationEventCalls the appropriate visit method depending on the subtype ofCitationEvent.- Specified by:
- acceptin interface- RetrieveAndGenerateStreamResponseOutput
- Overrides:
- acceptin class- CitationEvent
- Parameters:
- visitor- Visitor to invoke.
 
- 
sdkEventTypeDescription copied from interface:RetrieveAndGenerateStreamResponseOutputThe type of this event. Corresponds to the:event-typeheader on the Message.
 
-