Interface PredictResponsePayload.Builder2
- Enclosing class:
PredictResponsePayload
public static interface PredictResponsePayload.Builder2
Builder helper class.
-
Method Summary
Modifier and TypeMethodDescriptionpredictions(List<Map<String, PredictionsInnerValue>> predictions) Set the predictions of thisPredictResponsePayloadinstance.default PredictResponsePayload.Builder3predictions(Map<String, PredictionsInnerValue>... predictions) Set the predictions of thisPredictResponsePayloadinstance.
-
Method Details
-
predictions
PredictResponsePayload.Builder3 predictions(@Nonnull List<Map<String, PredictionsInnerValue>> predictions) Set the predictions of thisPredictResponsePayloadinstance.- 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 thisPredictResponsePayloadinstance.- Parameters:
predictions- Mapping of column names to their list of prediction results or index column.- Returns:
- The PredictResponsePayload builder.
-