Package com.sap.ai.sdk.foundationmodels.rpt.generated.model

# Interface PredictResponsePayload.Builder2

Enclosing class:
  `PredictResponsePayload`

public static interface PredictResponsePayload.Builder2
Builder helper class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PredictResponsePayload.Builder3`
  `predictions(List<Map<String,PredictionsInnerValue>> predictions)`
  Set the predictions of this `PredictResponsePayload` instance.
  `default PredictResponsePayload.Builder3`
  `predictions(Map<String,PredictionsInnerValue>... predictions)`
  Set the predictions of this `PredictResponsePayload` instance.

- ## Method Details

  - ### predictions

    PredictResponsePayload.Builder3 predictions(@Nonnull List<Map<String,PredictionsInnerValue>> predictions)
    Set the predictions of this `PredictResponsePayload` instance.
    Parameters:
      `predictions` - Mapping of column names to their list of prediction results or index column.
    Returns:
      The PredictResponsePayload builder.

  - ### predictions

    default PredictResponsePayload.Builder3 predictions(@Nonnull Map<String,PredictionsInnerValue>... predictions)
    Set the predictions of this `PredictResponsePayload` instance.
    Parameters:
      `predictions` - Mapping of column names to their list of prediction results or index column.
    Returns:
      The PredictResponsePayload builder.