@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyScore extends Object implements Serializable, Cloneable, StructuredPojo
Quantifies the anomaly. The higher score means that it's more anomalous.
Constructor and Description |
---|
AnomalyScore() |
Modifier and Type | Method and Description |
---|---|
AnomalyScore |
clone() |
boolean |
equals(Object obj) |
Double |
getCurrentScore()
The last observed score.
|
Double |
getMaxScore()
The maximum score that's observed during the
AnomalyDateInterval . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrentScore(Double currentScore)
The last observed score.
|
void |
setMaxScore(Double maxScore)
The maximum score that's observed during the
AnomalyDateInterval . |
String |
toString()
Returns a string representation of this object.
|
AnomalyScore |
withCurrentScore(Double currentScore)
The last observed score.
|
AnomalyScore |
withMaxScore(Double maxScore)
The maximum score that's observed during the
AnomalyDateInterval . |
public void setMaxScore(Double maxScore)
The maximum score that's observed during the AnomalyDateInterval
.
maxScore
- The maximum score that's observed during the AnomalyDateInterval
.public Double getMaxScore()
The maximum score that's observed during the AnomalyDateInterval
.
AnomalyDateInterval
.public AnomalyScore withMaxScore(Double maxScore)
The maximum score that's observed during the AnomalyDateInterval
.
maxScore
- The maximum score that's observed during the AnomalyDateInterval
.public void setCurrentScore(Double currentScore)
The last observed score.
currentScore
- The last observed score.public Double getCurrentScore()
The last observed score.
public AnomalyScore withCurrentScore(Double currentScore)
The last observed score.
currentScore
- The last observed score.public String toString()
toString
in class Object
Object.toString()
public AnomalyScore clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.