Class CohereToolMessageV2.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.CohereToolMessageV2.Builder
-
- Enclosing class:
- CohereToolMessageV2
public static class CohereToolMessageV2.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CohereToolMessageV2build()CohereToolMessageV2.Buildercontent(List<CohereContentV2> content)CohereToolMessageV2.Buildercopy(CohereToolMessageV2 model)CohereToolMessageV2.BuildertoolCallId(String toolCallId)The id of the associated tool call that has provided the given content
-
-
-
Method Detail
-
content
public CohereToolMessageV2.Builder content(List<CohereContentV2> content)
-
toolCallId
public CohereToolMessageV2.Builder toolCallId(String toolCallId)
The id of the associated tool call that has provided the given content- Parameters:
toolCallId- the value to set- Returns:
- this builder
-
build
public CohereToolMessageV2 build()
-
copy
public CohereToolMessageV2.Builder copy(CohereToolMessageV2 model)
-
-