@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyDetection extends Object implements Serializable, Cloneable
Information about anomaly detection and mitigation.
| Constructor and Description |
|---|
AnomalyDetection() |
| Modifier and Type | Method and Description |
|---|---|
AnomalyDetection |
clone() |
boolean |
equals(Object obj) |
String |
getMitigationInEffect()
Indicates whether anomaly mitigation is in progress.
|
String |
getResult()
The latest anomaly detection result.
|
int |
hashCode() |
void |
setMitigationInEffect(String mitigationInEffect)
Indicates whether anomaly mitigation is in progress.
|
void |
setResult(String result)
The latest anomaly detection result.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyDetection |
withMitigationInEffect(MitigationInEffectEnum mitigationInEffect)
Indicates whether anomaly mitigation is in progress.
|
AnomalyDetection |
withMitigationInEffect(String mitigationInEffect)
Indicates whether anomaly mitigation is in progress.
|
AnomalyDetection |
withResult(AnomalyResultEnum result)
The latest anomaly detection result.
|
AnomalyDetection |
withResult(String result)
The latest anomaly detection result.
|
public void setResult(String result)
The latest anomaly detection result.
result - The latest anomaly detection result.AnomalyResultEnumpublic String getResult()
The latest anomaly detection result.
AnomalyResultEnumpublic AnomalyDetection withResult(String result)
The latest anomaly detection result.
result - The latest anomaly detection result.AnomalyResultEnumpublic AnomalyDetection withResult(AnomalyResultEnum result)
The latest anomaly detection result.
result - The latest anomaly detection result.AnomalyResultEnumpublic void setMitigationInEffect(String mitigationInEffect)
Indicates whether anomaly mitigation is in progress.
mitigationInEffect - Indicates whether anomaly mitigation is in progress.MitigationInEffectEnumpublic String getMitigationInEffect()
Indicates whether anomaly mitigation is in progress.
MitigationInEffectEnumpublic AnomalyDetection withMitigationInEffect(String mitigationInEffect)
Indicates whether anomaly mitigation is in progress.
mitigationInEffect - Indicates whether anomaly mitigation is in progress.MitigationInEffectEnumpublic AnomalyDetection withMitigationInEffect(MitigationInEffectEnum mitigationInEffect)
Indicates whether anomaly mitigation is in progress.
mitigationInEffect - Indicates whether anomaly mitigation is in progress.MitigationInEffectEnumpublic String toString()
toString in class ObjectObject.toString()public AnomalyDetection clone()