@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeRange extends Object implements Serializable, Cloneable, StructuredPojo
Information about a time range.
Constructor and Description |
---|
TimeRange() |
Modifier and Type | Method and Description |
---|---|
TimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getEnd()
The end time of the time range.
|
Date |
getStart()
The start time of the time range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnd(Date end)
The end time of the time range.
|
void |
setStart(Date start)
The start time of the time range.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TimeRange |
withEnd(Date end)
The end time of the time range.
|
TimeRange |
withStart(Date start)
The start time of the time range.
|
public void setStart(Date start)
The start time of the time range.
Specify null to leave the start time open-ended.
start
- The start time of the time range. Specify null to leave the start time open-ended.
public Date getStart()
The start time of the time range.
Specify null to leave the start time open-ended.
Specify null to leave the start time open-ended.
public TimeRange withStart(Date start)
The start time of the time range.
Specify null to leave the start time open-ended.
start
- The start time of the time range. Specify null to leave the start time open-ended.
public void setEnd(Date end)
The end time of the time range.
Specify null to leave the end time open-ended.
end
- The end time of the time range. Specify null to leave the end time open-ended.
public Date getEnd()
The end time of the time range.
Specify null to leave the end time open-ended.
Specify null to leave the end time open-ended.
public TimeRange withEnd(Date end)
The end time of the time range.
Specify null to leave the end time open-ended.
end
- The end time of the time range. Specify null to leave the end time open-ended.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.