Class UrlCitation.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.UrlCitation.Builder
-
- Enclosing class:
- UrlCitation
public static class UrlCitation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UrlCitationbuild()UrlCitation.Buildercopy(UrlCitation model)UrlCitation.BuilderendIndex(Integer endIndex)End character index in the response where the citation ends.UrlCitation.BuilderstartIndex(Integer startIndex)Start character index in the response where the citation begins.UrlCitation.Buildertitle(String title)Title of the cited source.UrlCitation.Builderurl(String url)URL of the cited source.
-
-
-
Method Detail
-
startIndex
public UrlCitation.Builder startIndex(Integer startIndex)
Start character index in the response where the citation begins.- Parameters:
startIndex- the value to set- Returns:
- this builder
-
endIndex
public UrlCitation.Builder endIndex(Integer endIndex)
End character index in the response where the citation ends.- Parameters:
endIndex- the value to set- Returns:
- this builder
-
title
public UrlCitation.Builder title(String title)
Title of the cited source.- Parameters:
title- the value to set- Returns:
- this builder
-
url
public UrlCitation.Builder url(String url)
URL of the cited source.- Parameters:
url- the value to set- Returns:
- this builder
-
build
public UrlCitation build()
-
copy
public UrlCitation.Builder copy(UrlCitation model)
-
-