@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.AnomalyResultEnum
public String getResult()
The latest anomaly detection result.
AnomalyResultEnum
public AnomalyDetection withResult(String result)
The latest anomaly detection result.
result
- The latest anomaly detection result.AnomalyResultEnum
public AnomalyDetection withResult(AnomalyResultEnum result)
The latest anomaly detection result.
result
- The latest anomaly detection result.AnomalyResultEnum
public void setMitigationInEffect(String mitigationInEffect)
Indicates whether anomaly mitigation is in progress.
mitigationInEffect
- Indicates whether anomaly mitigation is in progress.MitigationInEffectEnum
public String getMitigationInEffect()
Indicates whether anomaly mitigation is in progress.
MitigationInEffectEnum
public AnomalyDetection withMitigationInEffect(String mitigationInEffect)
Indicates whether anomaly mitigation is in progress.
mitigationInEffect
- Indicates whether anomaly mitigation is in progress.MitigationInEffectEnum
public AnomalyDetection withMitigationInEffect(MitigationInEffectEnum mitigationInEffect)
Indicates whether anomaly mitigation is in progress.
mitigationInEffect
- Indicates whether anomaly mitigation is in progress.MitigationInEffectEnum
public String toString()
toString
in class Object
Object.toString()
public AnomalyDetection clone()