Class ToolInvocationTrace.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiagentruntime.model.ToolInvocationTrace.Builder
-
- Enclosing class:
- ToolInvocationTrace
public static class ToolInvocationTrace.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ToolInvocationTrace
build()
ToolInvocationTrace.Builder
copy(ToolInvocationTrace model)
ToolInvocationTrace.Builder
invocationDetails(String invocationDetails)
The invocation details related to the selected tool.ToolInvocationTrace.Builder
key(String key)
ToolInvocationTrace.Builder
parentKey(String parentKey)
ToolInvocationTrace.Builder
source(SourceDetails source)
ToolInvocationTrace.Builder
timeCreated(Date timeCreated)
ToolInvocationTrace.Builder
timeFinished(Date timeFinished)
ToolInvocationTrace.Builder
toolId(String toolId)
The ID of the selected tool based on the user query.ToolInvocationTrace.Builder
toolName(String toolName)
The display name of the selected tool.
-
-
-
Method Detail
-
key
public ToolInvocationTrace.Builder key(String key)
-
parentKey
public ToolInvocationTrace.Builder parentKey(String parentKey)
-
source
public ToolInvocationTrace.Builder source(SourceDetails source)
-
timeCreated
public ToolInvocationTrace.Builder timeCreated(Date timeCreated)
-
timeFinished
public ToolInvocationTrace.Builder timeFinished(Date timeFinished)
-
toolId
public ToolInvocationTrace.Builder toolId(String toolId)
The ID of the selected tool based on the user query.- Parameters:
toolId
- the value to set- Returns:
- this builder
-
toolName
public ToolInvocationTrace.Builder toolName(String toolName)
The display name of the selected tool.- Parameters:
toolName
- the value to set- Returns:
- this builder
-
invocationDetails
public ToolInvocationTrace.Builder invocationDetails(String invocationDetails)
The invocation details related to the selected tool.- Parameters:
invocationDetails
- the value to set- Returns:
- this builder
-
build
public ToolInvocationTrace build()
-
copy
public ToolInvocationTrace.Builder copy(ToolInvocationTrace model)
-
-