Interface MetricsSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MetricsSummary.Builder,MetricsSummary>,SdkBuilder<MetricsSummary.Builder,MetricsSummary>,SdkPojo
- Enclosing class:
- MetricsSummary
public static interface MetricsSummary.Builder extends SdkPojo, CopyableBuilder<MetricsSummary.Builder,MetricsSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MetricsSummary.BuildercategoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings)A list ofCategoryWithFindingNumobjects for the top 5 finding categories with the most open findings in an account.MetricsSummary.BuildercategoriesWithMostFindings(Consumer<CategoryWithFindingNum.Builder>... categoriesWithMostFindings)A list ofCategoryWithFindingNumobjects for the top 5 finding categories with the most open findings in an account.MetricsSummary.BuildercategoriesWithMostFindings(CategoryWithFindingNum... categoriesWithMostFindings)A list ofCategoryWithFindingNumobjects for the top 5 finding categories with the most open findings in an account.MetricsSummary.Builderdate(Instant date)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 in an account.MetricsSummary.BuilderopenFindings(FindingMetricsValuePerSeverity openFindings)The number of open findings of each severity in an account.MetricsSummary.BuilderscansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings)A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings in an account.MetricsSummary.BuilderscansWithMostOpenCriticalFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenCriticalFindings)A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings in an account.MetricsSummary.BuilderscansWithMostOpenCriticalFindings(ScanNameWithFindingNum... scansWithMostOpenCriticalFindings)A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings in an account.MetricsSummary.BuilderscansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings)A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings in an account.MetricsSummary.BuilderscansWithMostOpenFindings(Consumer<ScanNameWithFindingNum.Builder>... scansWithMostOpenFindings)A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings in an account.MetricsSummary.BuilderscansWithMostOpenFindings(ScanNameWithFindingNum... scansWithMostOpenFindings)A list ofScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings in an account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
categoriesWithMostFindings
MetricsSummary.Builder categoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings)
A list of
CategoryWithFindingNumobjects for the top 5 finding categories with the most open findings in an account.- Parameters:
categoriesWithMostFindings- A list ofCategoryWithFindingNumobjects 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
CategoryWithFindingNumobjects for the top 5 finding categories with the most open findings in an account.- Parameters:
categoriesWithMostFindings- A list ofCategoryWithFindingNumobjects 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(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 open findings in an account.CategoryWithFindingNum.Builderavoiding the need to create one manually viaCategoryWithFindingNum.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#categoriesWithMostFindings(List.) - Parameters:
categoriesWithMostFindings- a consumer that will call methods onCategoryWithFindingNum.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#categoriesWithMostFindings(java.util.Collection)
-
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.
-
openFindings
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.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 onFindingMetricsValuePerSeverity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
openFindings(FindingMetricsValuePerSeverity)
-
scansWithMostOpenCriticalFindings
MetricsSummary.Builder scansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings)
A list of
ScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings in an account.- Parameters:
scansWithMostOpenCriticalFindings- A list ofScanNameWithFindingNumobjects 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
ScanNameWithFindingNumobjects for the top 3 scans with the most number of open findings in an account.- Parameters:
scansWithMostOpenCriticalFindings- A list ofScanNameWithFindingNumobjects 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(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 findings in an account.ScanNameWithFindingNum.Builderavoiding the need to create one manually viaScanNameWithFindingNum.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scansWithMostOpenCriticalFindings(List.) - Parameters:
scansWithMostOpenCriticalFindings- a consumer that will call methods onScanNameWithFindingNum.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#scansWithMostOpenCriticalFindings(java.util.Collection)
-
scansWithMostOpenFindings
MetricsSummary.Builder scansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings)
A list of
ScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings in an account.- Parameters:
scansWithMostOpenFindings- A list ofScanNameWithFindingNumobjects 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
ScanNameWithFindingNumobjects for the top 3 scans with the most number of open critical findings in an account.- Parameters:
scansWithMostOpenFindings- A list ofScanNameWithFindingNumobjects 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(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 critical findings in an account.ScanNameWithFindingNum.Builderavoiding the need to create one manually viaScanNameWithFindingNum.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scansWithMostOpenFindings(List.) - Parameters:
scansWithMostOpenFindings- a consumer that will call methods onScanNameWithFindingNum.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#scansWithMostOpenFindings(java.util.Collection)
-
-