Interface CitationEvent.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CitationEvent.Builder,,- CitationEvent> - SdkBuilder<CitationEvent.Builder,,- CitationEvent> - SdkPojo
- All Known Subinterfaces:
- DefaultCitation.Builder
- Enclosing class:
- CitationEvent
@Mutable
@NotThreadSafe
public static interface CitationEvent.Builder
extends SdkPojo, CopyableBuilder<CitationEvent.Builder,CitationEvent> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault CitationEvent.Buildercitation(Consumer<Citation.Builder> citation) Deprecated.Citation is deprecated.Deprecated.Citation is deprecated.default CitationEvent.BuildergeneratedResponsePart(Consumer<GeneratedResponsePart.Builder> generatedResponsePart) The generated response to the citation event.generatedResponsePart(GeneratedResponsePart generatedResponsePart) The generated response to the citation event.retrievedReferences(Collection<RetrievedReference> retrievedReferences) The retrieved references of the citation event.retrievedReferences(Consumer<RetrievedReference.Builder>... retrievedReferences) The retrieved references of the citation event.retrievedReferences(RetrievedReference... retrievedReferences) The retrieved references of the citation event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
citationDeprecated.Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event.The citation. - Parameters:
- citation- The citation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
citationDeprecated.Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event.The citation. This is a convenience method that creates an instance of theCitation.Builderavoiding the need to create one manually viaCitation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocitation(Citation).- Parameters:
- citation- a consumer that will call methods on- Citation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
generatedResponsePartThe generated response to the citation event. - Parameters:
- generatedResponsePart- The generated response to the citation event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
generatedResponsePartdefault CitationEvent.Builder generatedResponsePart(Consumer<GeneratedResponsePart.Builder> generatedResponsePart) The generated response to the citation event. This is a convenience method that creates an instance of theGeneratedResponsePart.Builderavoiding the need to create one manually viaGeneratedResponsePart.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeneratedResponsePart(GeneratedResponsePart).- Parameters:
- generatedResponsePart- a consumer that will call methods on- GeneratedResponsePart.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
retrievedReferencesThe retrieved references of the citation event. - Parameters:
- retrievedReferences- The retrieved references of the citation event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
retrievedReferencesThe retrieved references of the citation event. - Parameters:
- retrievedReferences- The retrieved references of the citation event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
retrievedReferencesCitationEvent.Builder retrievedReferences(Consumer<RetrievedReference.Builder>... retrievedReferences) The retrieved references of the citation event. This is a convenience method that creates an instance of theRetrievedReference.Builderavoiding the need to create one manually viaRetrievedReference.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretrievedReferences(List<RetrievedReference>).- Parameters:
- retrievedReferences- a consumer that will call methods on- RetrievedReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-