Class ExecutionStateParams

java.lang.Object
com.oracle.database.selectai.model.agent.ExecutionStateParams

public final class ExecutionStateParams extends Object
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:
  • Method Details

    • builder

      Creates a builder for execution-state parameters.
      Returns:
      mutable builder for execution-state parameters
    • forConversationId

      public static ExecutionStateParams forConversationId(String conversationId)
      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

      public String toParamsJson()
      Returns the JSON object passed to the database package.
      Returns:
      JSON object containing conversation_id