Interface AggregatedScanResult.Builder

  • Method Details

    • failedScan

      AggregatedScanResult.Builder failedScan(Boolean failedScan)

      A Boolean value indicating whether any of the aggregated scans failed.

      Parameters:
      failedScan - A Boolean value indicating whether any of the aggregated scans failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingsWithStrings

      AggregatedScanResult.Builder findingsWithStrings(Collection<String> findings)

      An array of findings discovered across all aggregated scans.

      Parameters:
      findings - An array of findings discovered across all aggregated scans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingsWithStrings

      AggregatedScanResult.Builder findingsWithStrings(String... findings)

      An array of findings discovered across all aggregated scans.

      Parameters:
      findings - An array of findings discovered across all aggregated scans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      An array of findings discovered across all aggregated scans.

      Parameters:
      findings - An array of findings discovered across all aggregated scans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      An array of findings discovered across all aggregated scans.

      Parameters:
      findings - An array of findings discovered across all aggregated scans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastComputed

      AggregatedScanResult.Builder lastComputed(Instant lastComputed)

      The timestamp when the aggregated scan result was last computed, in Unix format and Coordinated Universal Time (UTC).

      Parameters:
      lastComputed - The timestamp when the aggregated scan result was last computed, in Unix format and Coordinated Universal Time (UTC).
      Returns:
      Returns a reference to this object so that method calls can be chained together.