@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimestampRange extends Object implements Serializable, Cloneable, StructuredPojo
This data type is used in the AssessmentRunFilter data type.
Constructor and Description |
---|
TimestampRange() |
Modifier and Type | Method and Description |
---|---|
TimestampRange |
clone() |
boolean |
equals(Object obj) |
Date |
getBeginDate()
The minimum value of the timestamp range.
|
Date |
getEndDate()
The maximum value of the timestamp range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBeginDate(Date beginDate)
The minimum value of the timestamp range.
|
void |
setEndDate(Date endDate)
The maximum value of the timestamp range.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TimestampRange |
withBeginDate(Date beginDate)
The minimum value of the timestamp range.
|
TimestampRange |
withEndDate(Date endDate)
The maximum value of the timestamp range.
|
public void setBeginDate(Date beginDate)
The minimum value of the timestamp range.
beginDate
- The minimum value of the timestamp range.public Date getBeginDate()
The minimum value of the timestamp range.
public TimestampRange withBeginDate(Date beginDate)
The minimum value of the timestamp range.
beginDate
- The minimum value of the timestamp range.public void setEndDate(Date endDate)
The maximum value of the timestamp range.
endDate
- The maximum value of the timestamp range.public Date getEndDate()
The maximum value of the timestamp range.
public TimestampRange withEndDate(Date endDate)
The maximum value of the timestamp range.
endDate
- The maximum value of the timestamp 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.