Interface DateStatistics.Builder

  • Method Details

    • date

      The timestamp when the total findings count is observed.

      For example, Date would look like "2024-09-05T17:00:00-07:00" whereas LastGeneratedAt would look like 2024-09-05T17:12:29-07:00".

      Parameters:
      date - The timestamp when the total findings count is observed.

      For example, Date would look like "2024-09-05T17:00:00-07:00" whereas LastGeneratedAt would look like 2024-09-05T17:12:29-07:00".

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastGeneratedAt

      DateStatistics.Builder lastGeneratedAt(Instant lastGeneratedAt)

      The timestamp at which the last finding in the findings count, was generated.

      Parameters:
      lastGeneratedAt - The timestamp at which the last finding in the findings count, was generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severity

      DateStatistics.Builder severity(Double severity)

      The severity of the findings generated on each date.

      Parameters:
      severity - The severity of the findings generated on each date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalFindings

      DateStatistics.Builder totalFindings(Integer totalFindings)

      The total number of findings that were generated per severity level on each date.

      Parameters:
      totalFindings - The total number of findings that were generated per severity level on each date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.