Class CohereToolCall.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.CohereToolCall.Builder
-
- Enclosing class:
- CohereToolCall
public static class CohereToolCall.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CohereToolCallbuild()CohereToolCall.Buildercopy(CohereToolCall model)CohereToolCall.Buildername(String name)Name of the tool to call.CohereToolCall.Builderparameters(Object parameters)The parameters to use when invoking a tool.
-
-
-
Method Detail
-
name
public CohereToolCall.Builder name(String name)
Name of the tool to call.- Parameters:
name- the value to set- Returns:
- this builder
-
parameters
public CohereToolCall.Builder parameters(Object parameters)
The parameters to use when invoking a tool.- Parameters:
parameters- the value to set- Returns:
- this builder
-
build
public CohereToolCall build()
-
copy
public CohereToolCall.Builder copy(CohereToolCall model)
-
-