Class Citation.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeaiinference.model.Citation.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Citationbuild()Citation.Buildercopy(Citation model)Citation.BuilderdocumentIds(List<String> documentIds)Identifiers for the documents cited in the current generated response.Citation.Builderend(Integer end)Counting from zero, the index of the text that the citation ends after.Citation.Builderstart(Integer start)Counting from zero, the index of the text where the citation starts.Citation.Buildertext(String text)The text of the citation.
 
- 
- 
- 
Method Detail- 
startpublic Citation.Builder start(Integer start) Counting from zero, the index of the text where the citation starts.- Parameters:
- start- the value to set
- Returns:
- this builder
 
 - 
endpublic Citation.Builder end(Integer end) Counting from zero, the index of the text that the citation ends after.- Parameters:
- end- the value to set
- Returns:
- this builder
 
 - 
textpublic Citation.Builder text(String text) The text of the citation.- Parameters:
- text- the value to set
- Returns:
- this builder
 
 - 
documentIdspublic Citation.Builder documentIds(List<String> documentIds) Identifiers for the documents cited in the current generated response.- Parameters:
- documentIds- the value to set
- Returns:
- this builder
 
 - 
buildpublic Citation build() 
 - 
copypublic Citation.Builder copy(Citation model) 
 
- 
 
-