@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReactiveAnomaly extends Object implements Serializable, Cloneable, StructuredPojo
Details about a reactive anomaly. This object is returned by ListAnomalies.
| Constructor and Description |
|---|
ReactiveAnomaly() |
| Modifier and Type | Method and Description |
|---|---|
ReactiveAnomaly |
clone() |
boolean |
equals(Object obj) |
AnomalyTimeRange |
getAnomalyTimeRange() |
String |
getAssociatedInsightId()
The ID of the insight that contains this anomaly.
|
String |
getId()
The ID of the reactive anomaly.
|
ResourceCollection |
getResourceCollection() |
String |
getSeverity()
The severity of the anomaly.
|
AnomalySourceDetails |
getSourceDetails()
Details about the source of the analyzed operational data that triggered the anomaly.
|
String |
getStatus()
The status of the anomaly.
|
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 the reactive anomaly.
|
void |
setResourceCollection(ResourceCollection resourceCollection) |
void |
setSeverity(String severity)
The severity of the 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 the anomaly.
|
String |
toString()
Returns a string representation of this object.
|
ReactiveAnomaly |
withAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange) |
ReactiveAnomaly |
withAssociatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly.
|
ReactiveAnomaly |
withId(String id)
The ID of the reactive anomaly.
|
ReactiveAnomaly |
withResourceCollection(ResourceCollection resourceCollection) |
ReactiveAnomaly |
withSeverity(AnomalySeverity severity)
The severity of the anomaly.
|
ReactiveAnomaly |
withSeverity(String severity)
The severity of the anomaly.
|
ReactiveAnomaly |
withSourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly.
|
ReactiveAnomaly |
withStatus(AnomalyStatus status)
The status of the anomaly.
|
ReactiveAnomaly |
withStatus(String status)
The status of the anomaly.
|
public void setId(String id)
The ID of the reactive anomaly.
id - The ID of the reactive anomaly.public String getId()
The ID of the reactive anomaly.
public ReactiveAnomaly withId(String id)
The ID of the reactive anomaly.
id - The ID of the reactive anomaly.public void setSeverity(String severity)
The severity of the anomaly.
severity - The severity of the anomaly.AnomalySeveritypublic String getSeverity()
The severity of the anomaly.
AnomalySeveritypublic ReactiveAnomaly withSeverity(String severity)
The severity of the anomaly.
severity - The severity of the anomaly.AnomalySeveritypublic ReactiveAnomaly withSeverity(AnomalySeverity severity)
The severity of the anomaly.
severity - The severity of the anomaly.AnomalySeveritypublic void setStatus(String status)
The status of the anomaly.
status - The status of the anomaly.AnomalyStatuspublic String getStatus()
The status of the anomaly.
AnomalyStatuspublic ReactiveAnomaly withStatus(String status)
The status of the anomaly.
status - The status of the anomaly.AnomalyStatuspublic ReactiveAnomaly withStatus(AnomalyStatus status)
The status of the anomaly.
status - The status of the anomaly.AnomalyStatuspublic void setAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
anomalyTimeRange - public AnomalyTimeRange getAnomalyTimeRange()
public ReactiveAnomaly withAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
anomalyTimeRange - 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 ReactiveAnomaly 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 ReactiveAnomaly 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 ReactiveAnomaly withResourceCollection(ResourceCollection resourceCollection)
resourceCollection - public String toString()
toString in class ObjectObject.toString()public ReactiveAnomaly clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.