Class SyntheticDataBatchRequest.Builder
java.lang.Object
com.oracle.database.selectai.model.SyntheticDataBatchRequest.Builder
- Enclosing class:
SyntheticDataBatchRequest
Builder for
SyntheticDataBatchRequest.-
Method Summary
Modifier and TypeMethodDescriptionaddObject(SyntheticDataObjectList object) Adds a target object descriptor to the batch.build()Builds the batch synthetic-data request.params(SyntheticDataParams params) Sets the synthetic data generation parameters shared by the batch.
-
Method Details
-
addObject
Adds a target object descriptor to the batch.- Parameters:
object- target object descriptor- Returns:
- this builder instance
- Throws:
IllegalArgumentException- ifobjectis null
-
params
Sets the synthetic data generation parameters shared by the batch.- Parameters:
params- synthetic data generation parameters- Returns:
- this builder instance
-
build
Builds the batch synthetic-data request.The SDK requires at least one target object descriptor in the batch. Database-specific validation of the object descriptors and generation parameters is delegated to
DBMS_CLOUD_AIand Oracle Database.- Returns:
- immutable
SyntheticDataBatchRequest - Throws:
IllegalArgumentException- if no target object descriptors were added
-