Class PredictResult
- java.lang.Object
-
- com.amazonaws.services.machinelearning.model.PredictResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PredictResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PredictResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PredictResult
clone()
boolean
equals(Object obj)
Prediction
getPrediction()
int
hashCode()
void
setPrediction(Prediction prediction)
String
toString()
Returns a string representation of this object; useful for testing and debugging.PredictResult
withPrediction(Prediction prediction)
-
-
-
Method Detail
-
setPrediction
public void setPrediction(Prediction prediction)
- Parameters:
prediction
-
-
getPrediction
public Prediction getPrediction()
- Returns:
-
withPrediction
public PredictResult withPrediction(Prediction prediction)
- Parameters:
prediction
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PredictResult clone()
-
-