@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) |
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()
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
|
AnomalyTimeRange |
getAnomalyTimeRange() |
String |
getAssociatedInsightId()
The ID of the insight that contains this anomaly.
|
String |
getCausalAnomalyId()
The ID of the causal anomaly that is associated with this reactive anomaly.
|
String |
getDescription()
A description of the reactive anomaly.
|
String |
getId()
The ID of the reactive anomaly.
|
String |
getName()
The name 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.
|
String |
getType()
The type of the reactive anomaly.
|
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)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
|
void |
setAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange) |
void |
setAssociatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly.
|
void |
setCausalAnomalyId(String causalAnomalyId)
The ID of the causal anomaly that is associated with this reactive anomaly.
|
void |
setDescription(String description)
A description of the reactive anomaly.
|
void |
setId(String id)
The ID of the reactive anomaly.
|
void |
setName(String name)
The name 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.
|
void |
setType(String type)
The type of the reactive anomaly.
|
String |
toString()
Returns a string representation of this object.
|
ReactiveAnomaly |
withAnomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
An
AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened
and the time when it is closed. |
ReactiveAnomaly |
withAnomalyResources(AnomalyResource... anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
|
ReactiveAnomaly |
withAnomalyResources(Collection<AnomalyResource> anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
|
ReactiveAnomaly |
withAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange) |
ReactiveAnomaly |
withAssociatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly.
|
ReactiveAnomaly |
withCausalAnomalyId(String causalAnomalyId)
The ID of the causal anomaly that is associated with this reactive anomaly.
|
ReactiveAnomaly |
withDescription(String description)
A description of the reactive anomaly.
|
ReactiveAnomaly |
withId(String id)
The ID of the reactive anomaly.
|
ReactiveAnomaly |
withName(String name)
The name 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.
|
ReactiveAnomaly |
withType(AnomalyType type)
The type of the reactive anomaly.
|
ReactiveAnomaly |
withType(String type)
The type of the reactive 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. 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 ReactiveAnomaly 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 ReactiveAnomaly 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 ReactiveAnomaly withStatus(String status)
The status of the anomaly.
status
- The status of the anomaly.AnomalyStatus
public ReactiveAnomaly withStatus(AnomalyStatus status)
The status of the anomaly.
status
- The status of the anomaly.AnomalyStatus
public void setAnomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
anomalyTimeRange
- public AnomalyTimeRange getAnomalyTimeRange()
public ReactiveAnomaly 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 ReactiveAnomaly 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 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 void setType(String type)
The type of the reactive anomaly. It can be one of the following types.
CAUSAL
- the anomaly can cause a new insight.
CONTEXTUAL
- the anomaly contains additional information about an insight or its causal anomaly.
type
- The type of the reactive anomaly. It can be one of the following types.
CAUSAL
- the anomaly can cause a new insight.
CONTEXTUAL
- the anomaly contains additional information about an insight or its causal
anomaly.
AnomalyType
public String getType()
The type of the reactive anomaly. It can be one of the following types.
CAUSAL
- the anomaly can cause a new insight.
CONTEXTUAL
- the anomaly contains additional information about an insight or its causal anomaly.
CAUSAL
- the anomaly can cause a new insight.
CONTEXTUAL
- the anomaly contains additional information about an insight or its causal
anomaly.
AnomalyType
public ReactiveAnomaly withType(String type)
The type of the reactive anomaly. It can be one of the following types.
CAUSAL
- the anomaly can cause a new insight.
CONTEXTUAL
- the anomaly contains additional information about an insight or its causal anomaly.
type
- The type of the reactive anomaly. It can be one of the following types.
CAUSAL
- the anomaly can cause a new insight.
CONTEXTUAL
- the anomaly contains additional information about an insight or its causal
anomaly.
AnomalyType
public ReactiveAnomaly withType(AnomalyType type)
The type of the reactive anomaly. It can be one of the following types.
CAUSAL
- the anomaly can cause a new insight.
CONTEXTUAL
- the anomaly contains additional information about an insight or its causal anomaly.
type
- The type of the reactive anomaly. It can be one of the following types.
CAUSAL
- the anomaly can cause a new insight.
CONTEXTUAL
- the anomaly contains additional information about an insight or its causal
anomaly.
AnomalyType
public void setName(String name)
The name of the reactive anomaly.
name
- The name of the reactive anomaly.public String getName()
The name of the reactive anomaly.
public ReactiveAnomaly withName(String name)
The name of the reactive anomaly.
name
- The name of the reactive anomaly.public void setDescription(String description)
A description of the reactive anomaly.
description
- A description of the reactive anomaly.public String getDescription()
A description of the reactive anomaly.
public ReactiveAnomaly withDescription(String description)
A description of the reactive anomaly.
description
- A description of the reactive anomaly.public void setCausalAnomalyId(String causalAnomalyId)
The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
causalAnomalyId
- The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly
is always `NULL`.public String getCausalAnomalyId()
The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
public ReactiveAnomaly withCausalAnomalyId(String causalAnomalyId)
The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
causalAnomalyId
- The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly
is always `NULL`.public List<AnomalyResource> getAnomalyResources()
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
public void setAnomalyResources(Collection<AnomalyResource> anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
anomalyResources
- The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.public ReactiveAnomaly withAnomalyResources(AnomalyResource... anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
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
- The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.public ReactiveAnomaly withAnomalyResources(Collection<AnomalyResource> anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
anomalyResources
- The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.public String toString()
toString
in class Object
Object.toString()
public ReactiveAnomaly clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.