@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimestampRange extends Object implements Serializable, Cloneable, StructuredPojo
The range of timestamps for which to return fragments.
Constructor and Description |
---|
TimestampRange() |
Modifier and Type | Method and Description |
---|---|
TimestampRange |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTimestamp()
The ending timestamp in the range of timestamps for which to return fragments.
|
Date |
getStartTimestamp()
The starting timestamp in the range of timestamps for which to return fragments.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTimestamp(Date endTimestamp)
The ending timestamp in the range of timestamps for which to return fragments.
|
void |
setStartTimestamp(Date startTimestamp)
The starting timestamp in the range of timestamps for which to return fragments.
|
String |
toString()
Returns a string representation of this object.
|
TimestampRange |
withEndTimestamp(Date endTimestamp)
The ending timestamp in the range of timestamps for which to return fragments.
|
TimestampRange |
withStartTimestamp(Date startTimestamp)
The starting timestamp in the range of timestamps for which to return fragments.
|
public void setStartTimestamp(Date startTimestamp)
The starting timestamp in the range of timestamps for which to return fragments.
startTimestamp
- The starting timestamp in the range of timestamps for which to return fragments.public Date getStartTimestamp()
The starting timestamp in the range of timestamps for which to return fragments.
public TimestampRange withStartTimestamp(Date startTimestamp)
The starting timestamp in the range of timestamps for which to return fragments.
startTimestamp
- The starting timestamp in the range of timestamps for which to return fragments.public void setEndTimestamp(Date endTimestamp)
The ending timestamp in the range of timestamps for which to return fragments.
endTimestamp
- The ending timestamp in the range of timestamps for which to return fragments.public Date getEndTimestamp()
The ending timestamp in the range of timestamps for which to return fragments.
public TimestampRange withEndTimestamp(Date endTimestamp)
The ending timestamp in the range of timestamps for which to return fragments.
endTimestamp
- The ending timestamp in the range of timestamps for which to return fragments.public String toString()
toString
in class Object
Object.toString()
public TimestampRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.