Class TimestampRange
- java.lang.Object
-
- com.amazonaws.services.inspector.model.TimestampRange
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TimestampRange extends Object implements Serializable, Cloneable
This data type is used in the AssessmentRunFilter data type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimestampRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
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.
-
-
-
Method Detail
-
setBeginDate
public void setBeginDate(Date beginDate)
The minimum value of the timestamp range.
- Parameters:
beginDate
- The minimum value of the timestamp range.
-
getBeginDate
public Date getBeginDate()
The minimum value of the timestamp range.
- Returns:
- The minimum value of the timestamp range.
-
withBeginDate
public TimestampRange withBeginDate(Date beginDate)
The minimum value of the timestamp range.
- Parameters:
beginDate
- The minimum value of the timestamp range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndDate
public void setEndDate(Date endDate)
The maximum value of the timestamp range.
- Parameters:
endDate
- The maximum value of the timestamp range.
-
getEndDate
public Date getEndDate()
The maximum value of the timestamp range.
- Returns:
- The maximum value of the timestamp range.
-
withEndDate
public TimestampRange withEndDate(Date endDate)
The maximum value of the timestamp range.
- Parameters:
endDate
- The maximum value of the timestamp range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TimestampRange clone()
-
-