@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProactiveAnomaly extends Object implements Serializable, Cloneable, StructuredPojo
Information about an anomaly. This object is returned by ListAnomalies
.
Constructor and Description |
---|
ProactiveAnomaly() |
Modifier and Type | Method and Description |
---|---|
ProactiveAnomaly |
clone() |
boolean |
equals(Object obj) |
AnomalyTimeRange |
getAnomalyTimeRange() |
String |
getAssociatedInsightId()
The ID of the insight that contains this anomaly.
|
String |
getId()
The ID of a proactive anomaly.
|
Double |
getLimit()
A threshold that was exceeded by behavior in analyzed resources.
|
PredictionTimeRange |
getPredictionTimeRange() |
ResourceCollection |
getResourceCollection() |
String |
getSeverity()
The severity of a proactive anomaly.
|
AnomalySourceDetails |
getSourceDetails()
Details about the source of the analyzed operational data that triggered the anomaly.
|
String |
getStatus()
The status of a proactive anomaly.
|
Date |
getUpdateTime()
The time of the anomaly's most recent update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange) |
void |
setAssociatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly.
|
void |
setId(String id)
The ID of a proactive anomaly.
|
void |
setLimit(Double limit)
A threshold that was exceeded by behavior in analyzed resources.
|
void |
setPredictionTimeRange(PredictionTimeRange predictionTimeRange) |
void |
setResourceCollection(ResourceCollection resourceCollection) |
void |
setSeverity(String severity)
The severity of a proactive anomaly.
|
void |
setSourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly.
|
void |
setStatus(String status)
The status of a proactive anomaly.
|
void |
setUpdateTime(Date updateTime)
The time of the anomaly's most recent update.
|
String |
toString()
Returns a string representation of this object.
|
ProactiveAnomaly |
withAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange) |
ProactiveAnomaly |
withAssociatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly.
|
ProactiveAnomaly |
withId(String id)
The ID of a proactive anomaly.
|
ProactiveAnomaly |
withLimit(Double limit)
A threshold that was exceeded by behavior in analyzed resources.
|
ProactiveAnomaly |
withPredictionTimeRange(PredictionTimeRange predictionTimeRange) |
ProactiveAnomaly |
withResourceCollection(ResourceCollection resourceCollection) |
ProactiveAnomaly |
withSeverity(AnomalySeverity severity)
The severity of a proactive anomaly.
|
ProactiveAnomaly |
withSeverity(String severity)
The severity of a proactive anomaly.
|
ProactiveAnomaly |
withSourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly.
|
ProactiveAnomaly |
withStatus(AnomalyStatus status)
The status of a proactive anomaly.
|
ProactiveAnomaly |
withStatus(String status)
The status of a proactive anomaly.
|
ProactiveAnomaly |
withUpdateTime(Date updateTime)
The time of the anomaly's most recent update.
|
public void setId(String id)
The ID of a proactive anomaly.
id
- The ID of a proactive anomaly.public String getId()
The ID of a proactive anomaly.
public ProactiveAnomaly withId(String id)
The ID of a proactive anomaly.
id
- The ID of a proactive anomaly.public void setSeverity(String severity)
The severity of a proactive anomaly.
severity
- The severity of a proactive anomaly.AnomalySeverity
public String getSeverity()
The severity of a proactive anomaly.
AnomalySeverity
public ProactiveAnomaly withSeverity(String severity)
The severity of a proactive anomaly.
severity
- The severity of a proactive anomaly.AnomalySeverity
public ProactiveAnomaly withSeverity(AnomalySeverity severity)
The severity of a proactive anomaly.
severity
- The severity of a proactive anomaly.AnomalySeverity
public void setStatus(String status)
The status of a proactive anomaly.
status
- The status of a proactive anomaly.AnomalyStatus
public String getStatus()
The status of a proactive anomaly.
AnomalyStatus
public ProactiveAnomaly withStatus(String status)
The status of a proactive anomaly.
status
- The status of a proactive anomaly.AnomalyStatus
public ProactiveAnomaly withStatus(AnomalyStatus status)
The status of a proactive anomaly.
status
- The status of a proactive anomaly.AnomalyStatus
public void setUpdateTime(Date updateTime)
The time of the anomaly's most recent update.
updateTime
- The time of the anomaly's most recent update.public Date getUpdateTime()
The time of the anomaly's most recent update.
public ProactiveAnomaly withUpdateTime(Date updateTime)
The time of the anomaly's most recent update.
updateTime
- The time of the anomaly's most recent update.public void setAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
anomalyTimeRange
- public AnomalyTimeRange getAnomalyTimeRange()
public ProactiveAnomaly withAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
anomalyTimeRange
- public void setPredictionTimeRange(PredictionTimeRange predictionTimeRange)
predictionTimeRange
- public PredictionTimeRange getPredictionTimeRange()
public ProactiveAnomaly withPredictionTimeRange(PredictionTimeRange predictionTimeRange)
predictionTimeRange
- public void setSourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
sourceDetails
- Details about the source of the analyzed operational data that triggered the anomaly. The one supported
source is Amazon CloudWatch metrics.public AnomalySourceDetails getSourceDetails()
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
public ProactiveAnomaly withSourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
sourceDetails
- Details about the source of the analyzed operational data that triggered the anomaly. The one supported
source is Amazon CloudWatch metrics.public void setAssociatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
associatedInsightId
- The ID of the insight that contains this anomaly. An insight is composed of related anomalies.public String getAssociatedInsightId()
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
public ProactiveAnomaly withAssociatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
associatedInsightId
- The ID of the insight that contains this anomaly. An insight is composed of related anomalies.public void setResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public ResourceCollection getResourceCollection()
public ProactiveAnomaly withResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public void setLimit(Double limit)
A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.
limit
- A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to
the anomalous behavior that generated this anomaly.public Double getLimit()
A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.
public ProactiveAnomaly withLimit(Double limit)
A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.
limit
- A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to
the anomalous behavior that generated this anomaly.public String toString()
toString
in class Object
Object.toString()
public ProactiveAnomaly clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.