Interface MetricsSummary.Builder

    • Method Detail

      • categoriesWithMostFindings

        MetricsSummary.Builder categoriesWithMostFindings​(Collection<CategoryWithFindingNum> categoriesWithMostFindings)

        A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open findings in an account.

        Parameters:
        categoriesWithMostFindings - A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open findings in an account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • categoriesWithMostFindings

        MetricsSummary.Builder categoriesWithMostFindings​(CategoryWithFindingNum... categoriesWithMostFindings)

        A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open findings in an account.

        Parameters:
        categoriesWithMostFindings - A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open findings in an account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • date

        MetricsSummary.Builder date​(Instant date)

        The date from which the metrics summary information was retrieved.

        Parameters:
        date - The date from which the metrics summary information was retrieved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • openFindings

        MetricsSummary.Builder openFindings​(FindingMetricsValuePerSeverity openFindings)

        The number of open findings of each severity in an account.

        Parameters:
        openFindings - The number of open findings of each severity in an account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scansWithMostOpenCriticalFindings

        MetricsSummary.Builder scansWithMostOpenCriticalFindings​(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings)

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings in an account.

        Parameters:
        scansWithMostOpenCriticalFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings in an account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scansWithMostOpenCriticalFindings

        MetricsSummary.Builder scansWithMostOpenCriticalFindings​(ScanNameWithFindingNum... scansWithMostOpenCriticalFindings)

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings in an account.

        Parameters:
        scansWithMostOpenCriticalFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings in an account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scansWithMostOpenFindings

        MetricsSummary.Builder scansWithMostOpenFindings​(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings)

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings in an account.

        Parameters:
        scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings in an account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scansWithMostOpenFindings

        MetricsSummary.Builder scansWithMostOpenFindings​(ScanNameWithFindingNum... scansWithMostOpenFindings)

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings in an account.

        Parameters:
        scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings in an account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.