public static interface MetricsSummary.Builder extends SdkPojo, CopyableBuilder<MetricsSummary.Builder,MetricsSummary>
| Modifier and Type | Method and Description |
|---|---|
MetricsSummary.Builder |
categoriesWithMostFindings(CategoryWithFindingNum... categoriesWithMostFindings)
A list of
CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account. |
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. |
MetricsSummary.Builder |
categoriesWithMostFindings(Consumer<CategoryWithFindingNum.Builder>... categoriesWithMostFindings)
A list of
CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account. |
MetricsSummary.Builder |
date(Instant date)
The date from which the metrics summary information was retrieved.
|
default MetricsSummary.Builder |
openFindings(Consumer<FindingMetricsValuePerSeverity.Builder> openFindings)
The number of open findings of each severity in an account.
|
MetricsSummary.Builder |
openFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account.
|
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. |
MetricsSummary.Builder |
scansWithMostOpenCriticalFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenCriticalFindings)
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open
findings in an account. |
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. |
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. |
MetricsSummary.Builder |
scansWithMostOpenFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenFindings)
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open
critical findings in an account. |
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. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetricsSummary.Builder categoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings)
A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.
categoriesWithMostFindings - A list of CategoryWithFindingNum objects for the top 5 finding categories with the most
open findings in an account.MetricsSummary.Builder categoriesWithMostFindings(CategoryWithFindingNum... categoriesWithMostFindings)
A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.
categoriesWithMostFindings - A list of CategoryWithFindingNum objects for the top 5 finding categories with the most
open findings in an account.MetricsSummary.Builder categoriesWithMostFindings(Consumer<CategoryWithFindingNum.Builder>... categoriesWithMostFindings)
A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.
CategoryWithFindingNum.Builder avoiding the
need to create one manually via
CategoryWithFindingNum.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #categoriesWithMostFindings(List.
categoriesWithMostFindings - a consumer that will call methods on
CategoryWithFindingNum.Builder#categoriesWithMostFindings(java.util.Collection) MetricsSummary.Builder date(Instant date)
The date from which the metrics summary information was retrieved.
date - The date from which the metrics summary information was retrieved.MetricsSummary.Builder openFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account.
openFindings - The number of open findings of each severity in an account.default MetricsSummary.Builder openFindings(Consumer<FindingMetricsValuePerSeverity.Builder> openFindings)
The number of open findings of each severity in an account.
This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builder
avoiding the need to create one manually via FindingMetricsValuePerSeverity.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to openFindings(FindingMetricsValuePerSeverity).
openFindings - a consumer that will call methods on FindingMetricsValuePerSeverity.BuilderopenFindings(FindingMetricsValuePerSeverity)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.
scansWithMostOpenCriticalFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
findings in an account.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.
scansWithMostOpenCriticalFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
findings in an account.MetricsSummary.Builder scansWithMostOpenCriticalFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenCriticalFindings)
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
findings in an account.
ScanNameWithFindingNum.Builder avoiding the
need to create one manually via
ScanNameWithFindingNum.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #scansWithMostOpenCriticalFindings(List.
scansWithMostOpenCriticalFindings - a consumer that will call methods on
ScanNameWithFindingNum.Builder#scansWithMostOpenCriticalFindings(java.util.Collection) 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.
scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
critical findings in an account.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.
scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
critical findings in an account.MetricsSummary.Builder scansWithMostOpenFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenFindings)
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
critical findings in an account.
ScanNameWithFindingNum.Builder avoiding the
need to create one manually via
ScanNameWithFindingNum.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #scansWithMostOpenFindings(List.
scansWithMostOpenFindings - a consumer that will call methods on
ScanNameWithFindingNum.Builder#scansWithMostOpenFindings(java.util.Collection) Copyright © 2023. All rights reserved.