Class ChatDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeaiagentruntime.model.ChatDetails.Builder
 
- 
- Enclosing class:
- ChatDetails
 
 public static class ChatDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ChatDetailsbuild()ChatDetails.Buildercopy(ChatDetails model)ChatDetails.BuilderperformedActions(List<PerformedAction> performedActions)A list of actions that have been performed based on prior required actions.ChatDetails.BuildersessionId(String sessionId)Optional sessionId.ChatDetails.BuildershouldStream(Boolean shouldStream)Whether to stream the response.ChatDetails.BuildertoolInputs(List<ToolInput> toolInputs)Array of tool input objects, each specifying a tool’s ID, type, and corresponding input parameters required for execution.ChatDetails.BuildertoolParameters(Map<String,String> toolParameters)A map where each key is a toolId and the value contains tool type and additional dynamic parameters.ChatDetails.BuilderuserMessage(String userMessage)The input user message content for the chat.
 
- 
- 
- 
Method Detail- 
userMessagepublic ChatDetails.Builder userMessage(String userMessage) The input user message content for the chat.- Parameters:
- userMessage- the value to set
- Returns:
- this builder
 
 - 
shouldStreampublic ChatDetails.Builder shouldStream(Boolean shouldStream) Whether to stream the response.- Parameters:
- shouldStream- the value to set
- Returns:
- this builder
 
 - 
sessionIdpublic ChatDetails.Builder sessionId(String sessionId) Optional sessionId.If not provided, will chat without any prior context. - Parameters:
- sessionId- the value to set
- Returns:
- this builder
 
 - 
toolParameterspublic ChatDetails.Builder toolParameters(Map<String,String> toolParameters) A map where each key is a toolId and the value contains tool type and additional dynamic parameters.This field is deprecated and will be removed after July 02 2026. - Parameters:
- toolParameters- the value to set
- Returns:
- this builder
 
 - 
toolInputspublic ChatDetails.Builder toolInputs(List<ToolInput> toolInputs) Array of tool input objects, each specifying a tool’s ID, type, and corresponding input parameters required for execution.- Parameters:
- toolInputs- the value to set
- Returns:
- this builder
 
 - 
performedActionspublic ChatDetails.Builder performedActions(List<PerformedAction> performedActions) A list of actions that have been performed based on prior required actions.- Parameters:
- performedActions- the value to set
- Returns:
- this builder
 
 - 
buildpublic ChatDetails build() 
 - 
copypublic ChatDetails.Builder copy(ChatDetails model) 
 
- 
 
-