@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyReportedTimeRange extends Object implements Serializable, Cloneable, StructuredPojo
A time range that specifies when DevOps Guru opens and then closes an anomaly. This is different from
AnomalyTimeRange, which specifies the time range when DevOps Guru actually observes the anomalous
behavior.
| Constructor and Description |
|---|
AnomalyReportedTimeRange() |
| Modifier and Type | Method and Description |
|---|---|
AnomalyReportedTimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getCloseTime()
The time when an anomaly is closed.
|
Date |
getOpenTime()
The time when an anomaly is opened.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCloseTime(Date closeTime)
The time when an anomaly is closed.
|
void |
setOpenTime(Date openTime)
The time when an anomaly is opened.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyReportedTimeRange |
withCloseTime(Date closeTime)
The time when an anomaly is closed.
|
AnomalyReportedTimeRange |
withOpenTime(Date openTime)
The time when an anomaly is opened.
|
public void setOpenTime(Date openTime)
The time when an anomaly is opened.
openTime - The time when an anomaly is opened.public Date getOpenTime()
The time when an anomaly is opened.
public AnomalyReportedTimeRange withOpenTime(Date openTime)
The time when an anomaly is opened.
openTime - The time when an anomaly is opened.public void setCloseTime(Date closeTime)
The time when an anomaly is closed.
closeTime - The time when an anomaly is closed.public Date getCloseTime()
The time when an anomaly is closed.
public AnomalyReportedTimeRange withCloseTime(Date closeTime)
The time when an anomaly is closed.
closeTime - The time when an anomaly is closed.public String toString()
toString in class ObjectObject.toString()public AnomalyReportedTimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.