@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.
|
List<RuleResult> |
getRuleResults()
The rule results in the prediction.
|
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.
|
void |
setRuleResults(Collection<RuleResult> ruleResults)
The rule results in the prediction.
|
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.
|
GetPredictionResult |
withRuleResults(Collection<RuleResult> ruleResults)
The rule results in the prediction.
|
GetPredictionResult |
withRuleResults(RuleResult... ruleResults)
The rule results in the prediction.
|
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 List<RuleResult> getRuleResults()
The rule results in the prediction.
public void setRuleResults(Collection<RuleResult> ruleResults)
The rule results in the prediction.
ruleResults - The rule results in the prediction.public GetPredictionResult withRuleResults(RuleResult... ruleResults)
The rule results in the prediction.
NOTE: This method appends the values to the existing list (if any). Use
setRuleResults(java.util.Collection) or withRuleResults(java.util.Collection) if you want to
override the existing values.
ruleResults - The rule results in the prediction.public GetPredictionResult withRuleResults(Collection<RuleResult> ruleResults)
The rule results in the prediction.
ruleResults - The rule results in the prediction.public String toString()
toString in class ObjectObject.toString()public GetPredictionResult clone()
Copyright © 2020. All rights reserved.