Class Function.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.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)The description of the function.Function.Buildername(String name)The name of the function.Function.Builderparameters(Object parameters)The parameters of the function as JSON schema.
-
-
-
Method Detail
-
name
public Function.Builder name(String name)
The name of the function.- Parameters:
name- the value to set- Returns:
- this builder
-
description
public Function.Builder description(String description)
The description of the function.- Parameters:
description- the value to set- Returns:
- this builder
-
parameters
public Function.Builder parameters(Object parameters)
The parameters of the function as JSON schema.- Parameters:
parameters- the value to set- Returns:
- this builder
-
build
public Function build()
-
copy
public Function.Builder copy(Function model)
-
-