Class ExecutionStateParams
java.lang.Object
com.oracle.database.selectai.model.agent.ExecutionStateParams
Typed parameters for a
SET_EXECUTION_STATE operation.
The database identifies the target run with conversation_id.
This model requires that identifier explicitly, so the SDK never relies on
the current database session conversation.
- Since:
- 1.1.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for immutable execution-state parameters. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionStateParams.Builderbuilder()Creates a builder for execution-state parameters.static ExecutionStateParamsforConversationId(String conversationId) Creates parameters for one database conversation.Returns the database conversation identifier.Returns the JSON object passed to the database package.
-
Method Details
-
builder
Creates a builder for execution-state parameters.- Returns:
- mutable builder for execution-state parameters
-
forConversationId
Creates parameters for one database conversation.- Parameters:
conversationId- database-created conversation identifier- Returns:
- immutable execution-state parameters
- Throws:
IllegalArgumentException- when the identifier is null or blank
-
getConversationId
Returns the database conversation identifier.- Returns:
- database conversation identifier
-
toParamsJson
Returns the JSON object passed to the database package.- Returns:
- JSON object containing
conversation_id
-