@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PredictionTimeRange extends Object implements Serializable, Cloneable, StructuredPojo
The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.
| Constructor and Description |
|---|
PredictionTimeRange() |
| Modifier and Type | Method and Description |
|---|---|
PredictionTimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The time when the behavior in a proactive insight is expected to end.
|
Date |
getStartTime()
The time range during which a metric limit is expected to be exceeded.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEndTime(Date endTime)
The time when the behavior in a proactive insight is expected to end.
|
void |
setStartTime(Date startTime)
The time range during which a metric limit is expected to be exceeded.
|
String |
toString()
Returns a string representation of this object.
|
PredictionTimeRange |
withEndTime(Date endTime)
The time when the behavior in a proactive insight is expected to end.
|
PredictionTimeRange |
withStartTime(Date startTime)
The time range during which a metric limit is expected to be exceeded.
|
public void setStartTime(Date startTime)
The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.
startTime - The time range during which a metric limit is expected to be exceeded. This applies to proactive insights
only.public Date getStartTime()
The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.
public PredictionTimeRange withStartTime(Date startTime)
The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.
startTime - The time range during which a metric limit is expected to be exceeded. This applies to proactive insights
only.public void setEndTime(Date endTime)
The time when the behavior in a proactive insight is expected to end.
endTime - The time when the behavior in a proactive insight is expected to end.public Date getEndTime()
The time when the behavior in a proactive insight is expected to end.
public PredictionTimeRange withEndTime(Date endTime)
The time when the behavior in a proactive insight is expected to end.
endTime - The time when the behavior in a proactive insight is expected to end.public String toString()
toString in class ObjectObject.toString()public PredictionTimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.