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