Class CohereToolCallV2.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.CohereToolCallV2.Builder
-
- Enclosing class:
- CohereToolCallV2
public static class CohereToolCallV2.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CohereToolCallV2build()CohereToolCallV2.Buildercopy(CohereToolCallV2 model)CohereToolCallV2.Builderfunction(Object function)Function of a tool call.CohereToolCallV2.Builderid(String id)Id of the tool call.CohereToolCallV2.Buildertype(CohereToolCallV2.Type type)Type of a tool call.
-
-
-
Method Detail
-
id
public CohereToolCallV2.Builder id(String id)
Id of the tool call.- Parameters:
id- the value to set- Returns:
- this builder
-
type
public CohereToolCallV2.Builder type(CohereToolCallV2.Type type)
Type of a tool call.- Parameters:
type- the value to set- Returns:
- this builder
-
function
public CohereToolCallV2.Builder function(Object function)
Function of a tool call.- Parameters:
function- the value to set- Returns:
- this builder
-
build
public CohereToolCallV2 build()
-
copy
public CohereToolCallV2.Builder copy(CohereToolCallV2 model)
-
-