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