@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; useful for testing and debugging.
|
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 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.