Class Function.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiagent.model.Function.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Functionbuild()Function.Buildercopy(Function model)Function.Builderdescription(String description)A description of the function.Function.Buildername(String name)The name of the function to invoke.Function.Builderparameters(Map<String,String> parameters)The parameters the function accepts, defined using a JSON Schema object.
-
-
-
Method Detail
-
name
public Function.Builder name(String name)
The name of the function to invoke.- Parameters:
name- the value to set- Returns:
- this builder
-
description
public Function.Builder description(String description)
A description of the function.- Parameters:
description- the value to set- Returns:
- this builder
-
parameters
public Function.Builder parameters(Map<String,String> parameters)
The parameters the function accepts, defined using a JSON Schema object.Refer to the guide for examples and the JSON Schema documentation for details on the format.
- Parameters:
parameters- the value to set- Returns:
- this builder
-
build
public Function build()
-
copy
public Function.Builder copy(Function model)
-
-