@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeRange extends Object implements Serializable, Cloneable, StructuredPojo
The time range.
| Constructor and Description |
|---|
TimeRange() |
| Modifier and Type | Method and Description |
|---|---|
TimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getFromInclusive()
The start time, in Unix time in seconds.
|
Date |
getToExclusive()
The end time, in Unix time in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFromInclusive(Date fromInclusive)
The start time, in Unix time in seconds.
|
void |
setToExclusive(Date toExclusive)
The end time, in Unix time in seconds.
|
String |
toString()
Returns a string representation of this object.
|
TimeRange |
withFromInclusive(Date fromInclusive)
The start time, in Unix time in seconds.
|
TimeRange |
withToExclusive(Date toExclusive)
The end time, in Unix time in seconds.
|
public void setFromInclusive(Date fromInclusive)
The start time, in Unix time in seconds. For more information see timestamp.
fromInclusive - The start time, in Unix time in seconds. For more information see timestamp.public Date getFromInclusive()
The start time, in Unix time in seconds. For more information see timestamp.
public TimeRange withFromInclusive(Date fromInclusive)
The start time, in Unix time in seconds. For more information see timestamp.
fromInclusive - The start time, in Unix time in seconds. For more information see timestamp.public void setToExclusive(Date toExclusive)
The end time, in Unix time in seconds. For more information see timestamp.
toExclusive - The end time, in Unix time in seconds. For more information see timestamp.public Date getToExclusive()
The end time, in Unix time in seconds. For more information see timestamp.
public TimeRange withToExclusive(Date toExclusive)
The end time, in Unix time in seconds. For more information see timestamp.
toExclusive - The end time, in Unix time in seconds. For more information see timestamp.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.