@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProactiveAnomalySummary extends Object implements Serializable, Cloneable, StructuredPojo
Details about a proactive anomaly. This object is returned by DescribeAnomaly.
Constructor and Description |
---|
ProactiveAnomalySummary() |
Modifier and Type | Method and Description |
---|---|
ProactiveAnomalySummary |
clone() |
boolean |
equals(Object obj) |
AnomalyReportedTimeRange |
getAnomalyReportedTimeRange()
An
AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened
and the time when it is closed. |
List<AnomalyResource> |
getAnomalyResources()
Information about a resource in which DevOps Guru detected anomalous behavior.
|
AnomalyTimeRange |
getAnomalyTimeRange() |
String |
getAssociatedInsightId()
The ID of the insight that contains this anomaly.
|
String |
getId()
The ID of the anomaly.
|
Double |
getLimit()
A threshold that was exceeded by behavior in analyzed resources.
|
PredictionTimeRange |
getPredictionTimeRange() |
ResourceCollection |
getResourceCollection() |
String |
getSeverity()
The severity of the anomaly.
|
AnomalySourceDetails |
getSourceDetails()
Details about the source of the analyzed operational data that triggered the anomaly.
|
AnomalySourceMetadata |
getSourceMetadata()
The metadata of the source which detects proactive anomalies.
|
String |
getStatus()
The status of the 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 |
setAnomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
An
AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened
and the time when it is closed. |
void |
setAnomalyResources(Collection<AnomalyResource> anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
|
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 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 the anomaly.
|
void |
setSourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly.
|
void |
setSourceMetadata(AnomalySourceMetadata sourceMetadata)
The metadata of the source which detects proactive anomalies.
|
void |
setStatus(String status)
The status of the anomaly.
|
void |
setUpdateTime(Date updateTime)
The time of the anomaly's most recent update.
|
String |
toString()
Returns a string representation of this object.
|
ProactiveAnomalySummary |
withAnomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
An
AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened
and the time when it is closed. |
ProactiveAnomalySummary |
withAnomalyResources(AnomalyResource... anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
|
ProactiveAnomalySummary |
withAnomalyResources(Collection<AnomalyResource> anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
|
ProactiveAnomalySummary |
withAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange) |
ProactiveAnomalySummary |
withAssociatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly.
|
ProactiveAnomalySummary |
withId(String id)
The ID of the anomaly.
|
ProactiveAnomalySummary |
withLimit(Double limit)
A threshold that was exceeded by behavior in analyzed resources.
|
ProactiveAnomalySummary |
withPredictionTimeRange(PredictionTimeRange predictionTimeRange) |
ProactiveAnomalySummary |
withResourceCollection(ResourceCollection resourceCollection) |
ProactiveAnomalySummary |
withSeverity(AnomalySeverity severity)
The severity of the anomaly.
|
ProactiveAnomalySummary |
withSeverity(String severity)
The severity of the anomaly.
|
ProactiveAnomalySummary |
withSourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly.
|
ProactiveAnomalySummary |
withSourceMetadata(AnomalySourceMetadata sourceMetadata)
The metadata of the source which detects proactive anomalies.
|
ProactiveAnomalySummary |
withStatus(AnomalyStatus status)
The status of the anomaly.
|
ProactiveAnomalySummary |
withStatus(String status)
The status of the anomaly.
|
ProactiveAnomalySummary |
withUpdateTime(Date updateTime)
The time of the anomaly's most recent update.
|
public void setId(String id)
The ID of the anomaly.
id
- The ID of the anomaly.public String getId()
The ID of the anomaly.
public ProactiveAnomalySummary withId(String id)
The ID of the anomaly.
id
- The ID of the anomaly.public void setSeverity(String severity)
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
severity
- The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's
severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.AnomalySeverity
public String getSeverity()
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
AnomalySeverity
public ProactiveAnomalySummary withSeverity(String severity)
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
severity
- The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's
severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.AnomalySeverity
public ProactiveAnomalySummary withSeverity(AnomalySeverity severity)
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
severity
- The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's
severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.AnomalySeverity
public void setStatus(String status)
The status of the anomaly.
status
- The status of the anomaly.AnomalyStatus
public String getStatus()
The status of the anomaly.
AnomalyStatus
public ProactiveAnomalySummary withStatus(String status)
The status of the anomaly.
status
- The status of the anomaly.AnomalyStatus
public ProactiveAnomalySummary withStatus(AnomalyStatus status)
The status of the anomaly.
status
- The status of the 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 ProactiveAnomalySummary 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 ProactiveAnomalySummary withAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
anomalyTimeRange
- public void setAnomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
An AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened
and the time when it is closed.
anomalyReportedTimeRange
- An AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is
opened and the time when it is closed.public AnomalyReportedTimeRange getAnomalyReportedTimeRange()
An AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened
and the time when it is closed.
AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is
opened and the time when it is closed.public ProactiveAnomalySummary withAnomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
An AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened
and the time when it is closed.
anomalyReportedTimeRange
- An AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is
opened and the time when it is closed.public void setPredictionTimeRange(PredictionTimeRange predictionTimeRange)
predictionTimeRange
- public PredictionTimeRange getPredictionTimeRange()
public ProactiveAnomalySummary 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 ProactiveAnomalySummary 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 ProactiveAnomalySummary 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 ProactiveAnomalySummary 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 ProactiveAnomalySummary 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 void setSourceMetadata(AnomalySourceMetadata sourceMetadata)
The metadata of the source which detects proactive anomalies.
sourceMetadata
- The metadata of the source which detects proactive anomalies.public AnomalySourceMetadata getSourceMetadata()
The metadata of the source which detects proactive anomalies.
public ProactiveAnomalySummary withSourceMetadata(AnomalySourceMetadata sourceMetadata)
The metadata of the source which detects proactive anomalies.
sourceMetadata
- The metadata of the source which detects proactive anomalies.public List<AnomalyResource> getAnomalyResources()
Information about a resource in which DevOps Guru detected anomalous behavior.
public void setAnomalyResources(Collection<AnomalyResource> anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
anomalyResources
- Information about a resource in which DevOps Guru detected anomalous behavior.public ProactiveAnomalySummary withAnomalyResources(AnomalyResource... anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
NOTE: This method appends the values to the existing list (if any). Use
setAnomalyResources(java.util.Collection)
or withAnomalyResources(java.util.Collection)
if you
want to override the existing values.
anomalyResources
- Information about a resource in which DevOps Guru detected anomalous behavior.public ProactiveAnomalySummary withAnomalyResources(Collection<AnomalyResource> anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
anomalyResources
- Information about a resource in which DevOps Guru detected anomalous behavior.public String toString()
toString
in class Object
Object.toString()
public ProactiveAnomalySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.