@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyTimeRange extends Object implements Serializable, Cloneable, StructuredPojo
A time range that specifies when the observed unusual behavior in an anomaly started and ended.
| Constructor and Description |
|---|
AnomalyTimeRange() |
| Modifier and Type | Method and Description |
|---|---|
AnomalyTimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The time when the anomalous behavior ended.
|
Date |
getStartTime()
The time when the anomalous behavior started.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEndTime(Date endTime)
The time when the anomalous behavior ended.
|
void |
setStartTime(Date startTime)
The time when the anomalous behavior started.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyTimeRange |
withEndTime(Date endTime)
The time when the anomalous behavior ended.
|
AnomalyTimeRange |
withStartTime(Date startTime)
The time when the anomalous behavior started.
|
public void setStartTime(Date startTime)
The time when the anomalous behavior started.
startTime - The time when the anomalous behavior started.public Date getStartTime()
The time when the anomalous behavior started.
public AnomalyTimeRange withStartTime(Date startTime)
The time when the anomalous behavior started.
startTime - The time when the anomalous behavior started.public void setEndTime(Date endTime)
The time when the anomalous behavior ended.
endTime - The time when the anomalous behavior ended.public Date getEndTime()
The time when the anomalous behavior ended.
public AnomalyTimeRange withEndTime(Date endTime)
The time when the anomalous behavior ended.
endTime - The time when the anomalous behavior ended.public String toString()
toString in class ObjectObject.toString()public AnomalyTimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.