@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()
A
AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened
and the time when it is closed. |
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 |
setAnomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
A
AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened
and the time when it is closed. |
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 |
withAnomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
A
AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened
and the time when it is closed. |
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.AnomalySeverity
public String getSeverity()
The severity of the anomaly.
AnomalySeverity
public ReactiveAnomaly withSeverity(String severity)
The severity of the anomaly.
severity
- The severity of the anomaly.AnomalySeverity
public ReactiveAnomaly withSeverity(AnomalySeverity severity)
The severity of the anomaly.
severity
- The severity of the anomaly.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)
A AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened
and the time when it is closed.
anomalyReportedTimeRange
- A AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is
opened and the time when it is closed.public AnomalyReportedTimeRange getAnomalyReportedTimeRange()
A 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)
A AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened
and the time when it is closed.
anomalyReportedTimeRange
- A 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 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.