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:
  • Constructor Details

    • TimestampRange

      public TimestampRange()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public TimestampRange clone()
      Overrides:
      clone in class Object