Class OciOpenSearchSourceLocation.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiagentruntime.model.OciOpenSearchSourceLocation.Builder
-
- Enclosing class:
- OciOpenSearchSourceLocation
public static class OciOpenSearchSourceLocation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciOpenSearchSourceLocationbuild()OciOpenSearchSourceLocation.Buildercopy(OciOpenSearchSourceLocation model)OciOpenSearchSourceLocation.Builderid(String id)The OCID of the OCI OpenSearch cluster.OciOpenSearchSourceLocation.BuilderindexName(String indexName)The name of the index in OpenSearch that contains the source text.OciOpenSearchSourceLocation.Builderurl(String url)The URL of the retrieved document, if available.
-
-
-
Method Detail
-
id
public OciOpenSearchSourceLocation.Builder id(String id)
The OCID of the OCI OpenSearch cluster.- Parameters:
id- the value to set- Returns:
- this builder
-
indexName
public OciOpenSearchSourceLocation.Builder indexName(String indexName)
The name of the index in OpenSearch that contains the source text.- Parameters:
indexName- the value to set- Returns:
- this builder
-
url
public OciOpenSearchSourceLocation.Builder url(String url)
The URL of the retrieved document, if available.- Parameters:
url- the value to set- Returns:
- this builder
-
build
public OciOpenSearchSourceLocation build()
-
copy
public OciOpenSearchSourceLocation.Builder copy(OciOpenSearchSourceLocation model)
-
-