@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndTimeRange extends Object implements Serializable, Cloneable, StructuredPojo
A range of time that specifies when anomalous behavior in an anomaly or insight ended.
| Constructor and Description |
|---|
EndTimeRange() |
| Modifier and Type | Method and Description |
|---|---|
EndTimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getFromTime()
The earliest end time in the time range.
|
Date |
getToTime()
The latest end time in the time range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFromTime(Date fromTime)
The earliest end time in the time range.
|
void |
setToTime(Date toTime)
The latest end time in the time range.
|
String |
toString()
Returns a string representation of this object.
|
EndTimeRange |
withFromTime(Date fromTime)
The earliest end time in the time range.
|
EndTimeRange |
withToTime(Date toTime)
The latest end time in the time range.
|
public void setFromTime(Date fromTime)
The earliest end time in the time range.
fromTime - The earliest end time in the time range.public Date getFromTime()
The earliest end time in the time range.
public EndTimeRange withFromTime(Date fromTime)
The earliest end time in the time range.
fromTime - The earliest end time in the time range.public void setToTime(Date toTime)
The latest end time in the time range.
toTime - The latest end time in the time range.public Date getToTime()
The latest end time in the time range.
public EndTimeRange withToTime(Date toTime)
The latest end time in the time range.
toTime - The latest end time in the time range.public String toString()
toString in class ObjectObject.toString()public EndTimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.