Class SqlToolParams.Builder
java.lang.Object
com.oracle.database.selectai.model.agent.SqlToolParams.Builder
- Enclosing class:
SqlToolParams
Builder for immutable
SqlToolParams.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadditionalParameter(String name, Object value) Snapshots an additional database parameter.build()Builds an immutable snapshot without database-specific validation.profileName(String profileName) Sets the Select AI profile name.
-
Method Details
-
profileName
Sets the Select AI profile name.- Parameters:
profileName- Select AI profile name, or null to omit it- Returns:
- this builder
- See Also:
-
additionalParameter
Snapshots an additional database parameter.- Parameters:
name- database JSON parameter namevalue- JSON-compatible value, including null- Returns:
- this builder
- Throws:
IllegalArgumentException- when the name is blank, is a known parameter name, or the value is not JSON-compatible- See Also:
-
build
Builds an immutable snapshot without database-specific validation.- Returns:
- immutable parameters
- See Also:
-