Class SyntheticDataParams.Builder

java.lang.Object
com.oracle.database.selectai.model.SyntheticDataParams.Builder
Enclosing class:
SyntheticDataParams

public static final class SyntheticDataParams.Builder extends Object
Builder for SyntheticDataParams.
  • Constructor Details

    • Builder

      public Builder()
      Creates an empty builder.
  • Method Details

    • sampleRows

      Sets the number of table rows sampled to guide synthetic data generation.

      The value must be between 0 and 100, inclusive, when specified. A value of 0 indicates that no sample rows are used.

      Parameters:
      sampleRows - sample-row value, from 0 through 100, or null when unset
      Returns:
      this builder instance
      Throws:
      IllegalArgumentException - if sampleRows is less than 0 or greater than 100
    • tableStatistics

      Sets whether table statistics should be used during synthetic data generation.
      Parameters:
      tableStatistics - whether table statistics should be used, or null when unset
      Returns:
      this builder instance
    • priority

      Sets the priority used for synthetic data generation.

      The supported values are HIGH, MEDIUM, and LOW. The comparison is case-insensitive; the value stored by the builder is normalized to upper case.

      Parameters:
      priority - priority value (HIGH, MEDIUM, or LOW), or null when unset
      Returns:
      this builder instance
      Throws:
      IllegalArgumentException - if priority is not one of the supported values
    • priority

      Sets the priority used for synthetic data generation.
      Parameters:
      priority - priority value, or null when unset
      Returns:
      this builder instance
    • comments

      Sets whether table comments should be used as context during synthetic data generation.
      Parameters:
      comments - whether comments should be used, or null when unset
      Returns:
      this builder instance
    • build

      Builds the synthetic data parameter payload.

      SDK-level validation is applied when individual values are set. Database-specific and semantic validation remains delegated to DBMS_CLOUD_AI and Oracle Database.

      Returns:
      immutable SyntheticDataParams instance built from the current builder state