public class TimestampRange
extends java.lang.Object
implements java.io.Serializable
The range of time stamps for which to return fragments.
Constructor and Description |
---|
TimestampRange() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getEndTimestamp()
The ending time stamp in the range of time stamps for which to return
fragments.
|
java.util.Date |
getStartTimestamp()
The starting time stamp in the range of time stamps for which to return
fragments.
|
int |
hashCode() |
void |
setEndTimestamp(java.util.Date endTimestamp)
The ending time stamp in the range of time stamps for which to return
fragments.
|
void |
setStartTimestamp(java.util.Date startTimestamp)
The starting time stamp in the range of time stamps for which to return
fragments.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimestampRange |
withEndTimestamp(java.util.Date endTimestamp)
The ending time stamp in the range of time stamps for which to return
fragments.
|
TimestampRange |
withStartTimestamp(java.util.Date startTimestamp)
The starting time stamp in the range of time stamps for which to return
fragments.
|
public java.util.Date getStartTimestamp()
The starting time stamp in the range of time stamps for which to return fragments.
The starting time stamp in the range of time stamps for which to return fragments.
public void setStartTimestamp(java.util.Date startTimestamp)
The starting time stamp in the range of time stamps for which to return fragments.
startTimestamp
- The starting time stamp in the range of time stamps for which to return fragments.
public TimestampRange withStartTimestamp(java.util.Date startTimestamp)
The starting time stamp in the range of time stamps for which to return fragments.
Returns a reference to this object so that method calls can be chained together.
startTimestamp
- The starting time stamp in the range of time stamps for which to return fragments.
public java.util.Date getEndTimestamp()
The ending time stamp in the range of time stamps for which to return fragments.
The ending time stamp in the range of time stamps for which to return fragments.
public void setEndTimestamp(java.util.Date endTimestamp)
The ending time stamp in the range of time stamps for which to return fragments.
endTimestamp
- The ending time stamp in the range of time stamps for which to return fragments.
public TimestampRange withEndTimestamp(java.util.Date endTimestamp)
The ending time stamp in the range of time stamps for which to return fragments.
Returns a reference to this object so that method calls can be chained together.
endTimestamp
- The ending time stamp in the range of time stamps for which to return fragments.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.