Interface MetricsSummary.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<MetricsSummary.Builder,,- MetricsSummary> - SdkBuilder<MetricsSummary.Builder,,- MetricsSummary> - SdkPojo
- Enclosing class:
- MetricsSummary
- 
Method SummaryModifier and TypeMethodDescriptioncategoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings) A list ofCategoryWithFindingNumobjects for the top 5 finding categories with the most findings.categoriesWithMostFindings(Consumer<CategoryWithFindingNum.Builder>... categoriesWithMostFindings) A list ofCategoryWithFindingNumobjects for the top 5 finding categories with the most findings.categoriesWithMostFindings(CategoryWithFindingNum... categoriesWithMostFindings) A list ofCategoryWithFindingNumobjects for the top 5 finding categories with the most findings.The date from which the metrics summary information was retrieved.default MetricsSummary.BuilderopenFindings(Consumer<FindingMetricsValuePerSeverity.Builder> openFindings) The number of open findings of each severity.openFindings(FindingMetricsValuePerSeverity openFindings) The number of open findings of each severity.scansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings) A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings.scansWithMostOpenCriticalFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenCriticalFindings) A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings.scansWithMostOpenCriticalFindings(ScanNameWithFindingNum... scansWithMostOpenCriticalFindings) A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings.scansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings) A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings.scansWithMostOpenFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenFindings) A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings.scansWithMostOpenFindings(ScanNameWithFindingNum... scansWithMostOpenFindings) A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
dateThe 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.
 
- 
openFindingsThe number of open findings of each severity. - Parameters:
- openFindings- The number of open findings of each severity.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
openFindingsdefault MetricsSummary.Builder openFindings(Consumer<FindingMetricsValuePerSeverity.Builder> openFindings) The number of open findings of each severity. This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builderavoiding the need to create one manually viaFindingMetricsValuePerSeverity.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toopenFindings(FindingMetricsValuePerSeverity).- Parameters:
- openFindings- a consumer that will call methods on- FindingMetricsValuePerSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
categoriesWithMostFindingsMetricsSummary.Builder categoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings) A list of CategoryWithFindingNumobjects for the top 5 finding categories with the most findings.- Parameters:
- categoriesWithMostFindings- A list of- CategoryWithFindingNumobjects for the top 5 finding categories with the most findings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
categoriesWithMostFindingsMetricsSummary.Builder categoriesWithMostFindings(CategoryWithFindingNum... categoriesWithMostFindings) A list of CategoryWithFindingNumobjects for the top 5 finding categories with the most findings.- Parameters:
- categoriesWithMostFindings- A list of- CategoryWithFindingNumobjects for the top 5 finding categories with the most findings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
categoriesWithMostFindingsMetricsSummary.Builder categoriesWithMostFindings(Consumer<CategoryWithFindingNum.Builder>... categoriesWithMostFindings) A list of This is a convenience method that creates an instance of theCategoryWithFindingNumobjects for the top 5 finding categories with the most findings.CategoryWithFindingNum.Builderavoiding the need to create one manually viaCategoryWithFindingNum.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocategoriesWithMostFindings(List<CategoryWithFindingNum>).- Parameters:
- categoriesWithMostFindings- a consumer that will call methods on- CategoryWithFindingNum.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scansWithMostOpenFindingsMetricsSummary.Builder scansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings) A list of ScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings.- Parameters:
- scansWithMostOpenFindings- A list of- ScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scansWithMostOpenFindingsMetricsSummary.Builder scansWithMostOpenFindings(ScanNameWithFindingNum... scansWithMostOpenFindings) A list of ScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings.- Parameters:
- scansWithMostOpenFindings- A list of- ScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scansWithMostOpenFindingsMetricsSummary.Builder scansWithMostOpenFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenFindings) A list of This is a convenience method that creates an instance of theScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings.ScanNameWithFindingNum.Builderavoiding the need to create one manually viaScanNameWithFindingNum.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscansWithMostOpenFindings(List<ScanNameWithFindingNum>).- Parameters:
- scansWithMostOpenFindings- a consumer that will call methods on- ScanNameWithFindingNum.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scansWithMostOpenCriticalFindingsMetricsSummary.Builder scansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings) A list of ScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings.- Parameters:
- scansWithMostOpenCriticalFindings- A list of- ScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scansWithMostOpenCriticalFindingsMetricsSummary.Builder scansWithMostOpenCriticalFindings(ScanNameWithFindingNum... scansWithMostOpenCriticalFindings) A list of ScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings.- Parameters:
- scansWithMostOpenCriticalFindings- A list of- ScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scansWithMostOpenCriticalFindingsMetricsSummary.Builder scansWithMostOpenCriticalFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenCriticalFindings) A list of This is a convenience method that creates an instance of theScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings.ScanNameWithFindingNum.Builderavoiding the need to create one manually viaScanNameWithFindingNum.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscansWithMostOpenCriticalFindings(List<ScanNameWithFindingNum>).- Parameters:
- scansWithMostOpenCriticalFindings- a consumer that will call methods on- ScanNameWithFindingNum.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-