Class ExecutionStateRequest.Builder
java.lang.Object
com.oracle.database.selectai.model.agent.ExecutionStateRequest.Builder
- Enclosing class:
ExecutionStateRequest
Builder for
ExecutionStateRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an immutable execution-state request.conversationId(String conversationId) Sets the conversation identifier for the execution to update.params(ExecutionStateParams params) Sets typed parameters for the execution to update.
-
Method Details
-
conversationId
Sets the conversation identifier for the execution to update.- Parameters:
conversationId- database-created conversation identifier- Returns:
- this builder
- Throws:
IllegalArgumentException- when the identifier is null or blankIllegalStateException- when typed parameters were already supplied
-
params
Sets typed parameters for the execution to update.- Parameters:
params- typed parameters containing a conversation identifier- Returns:
- this builder
-
build
Builds an immutable execution-state request.- Returns:
- immutable execution-state request
- Throws:
IllegalArgumentException- when no conversation identifier or typed parameters were supplied
-