@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPredictionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetPredictionResult() |
| Modifier and Type | Method and Description |
|---|---|
GetPredictionResult |
clone() |
boolean |
equals(Object obj) |
List<ModelScores> |
getModelScores()
The model scores for models used in the detector version.
|
List<String> |
getOutcomes()
The prediction outcomes.
|
int |
hashCode() |
void |
setModelScores(Collection<ModelScores> modelScores)
The model scores for models used in the detector version.
|
void |
setOutcomes(Collection<String> outcomes)
The prediction outcomes.
|
String |
toString()
Returns a string representation of this object.
|
GetPredictionResult |
withModelScores(Collection<ModelScores> modelScores)
The model scores for models used in the detector version.
|
GetPredictionResult |
withModelScores(ModelScores... modelScores)
The model scores for models used in the detector version.
|
GetPredictionResult |
withOutcomes(Collection<String> outcomes)
The prediction outcomes.
|
GetPredictionResult |
withOutcomes(String... outcomes)
The prediction outcomes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<String> getOutcomes()
The prediction outcomes.
public void setOutcomes(Collection<String> outcomes)
The prediction outcomes.
outcomes - The prediction outcomes.public GetPredictionResult withOutcomes(String... outcomes)
The prediction outcomes.
NOTE: This method appends the values to the existing list (if any). Use
setOutcomes(java.util.Collection) or withOutcomes(java.util.Collection) if you want to override
the existing values.
outcomes - The prediction outcomes.public GetPredictionResult withOutcomes(Collection<String> outcomes)
The prediction outcomes.
outcomes - The prediction outcomes.public List<ModelScores> getModelScores()
The model scores for models used in the detector version.
public void setModelScores(Collection<ModelScores> modelScores)
The model scores for models used in the detector version.
modelScores - The model scores for models used in the detector version.public GetPredictionResult withModelScores(ModelScores... modelScores)
The model scores for models used in the detector version.
NOTE: This method appends the values to the existing list (if any). Use
setModelScores(java.util.Collection) or withModelScores(java.util.Collection) if you want to
override the existing values.
modelScores - The model scores for models used in the detector version.public GetPredictionResult withModelScores(Collection<ModelScores> modelScores)
The model scores for models used in the detector version.
modelScores - The model scores for models used in the detector version.public String toString()
toString in class ObjectObject.toString()public GetPredictionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.