Interface FindingsSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FindingsSummary.Builder,,FindingsSummary> SdkBuilder<FindingsSummary.Builder,,FindingsSummary> SdkPojo
- Enclosing class:
FindingsSummary
-
Method Summary
Modifier and TypeMethodDescriptionbyTimeWindow(Collection<TimeWindowGroup> byTimeWindow) The number of findings in each time window.byTimeWindow(Consumer<TimeWindowGroup.Builder>... byTimeWindow) The number of findings in each time window.byTimeWindow(TimeWindowGroup... byTimeWindow) The number of findings in each time window.default FindingsSummary.BuilderseverityBreakdown(Consumer<SeverityBreakdown.Builder> severityBreakdown) The number of findings at each severity level.severityBreakdown(SeverityBreakdown severityBreakdown) The number of findings at each severity level.topFindingTypes(Collection<FindingTypeCount> topFindingTypes) The finding types that have the most findings, with counts.topFindingTypes(Consumer<FindingTypeCount.Builder>... topFindingTypes) The finding types that have the most findings, with counts.topFindingTypes(FindingTypeCount... topFindingTypes) The finding types that have the most findings, with counts.totalFindings(Integer totalFindings) The total number of findings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
totalFindings
The total number of findings.
- Parameters:
totalFindings- The total number of findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityBreakdown
The number of findings at each severity level.
- Parameters:
severityBreakdown- The number of findings at each severity level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityBreakdown
default FindingsSummary.Builder severityBreakdown(Consumer<SeverityBreakdown.Builder> severityBreakdown) The number of findings at each severity level.
This is a convenience method that creates an instance of theSeverityBreakdown.Builderavoiding the need to create one manually viaSeverityBreakdown.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toseverityBreakdown(SeverityBreakdown).- Parameters:
severityBreakdown- a consumer that will call methods onSeverityBreakdown.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
topFindingTypes
The finding types that have the most findings, with counts.
- Parameters:
topFindingTypes- The finding types that have the most findings, with counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topFindingTypes
The finding types that have the most findings, with counts.
- Parameters:
topFindingTypes- The finding types that have the most findings, with counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topFindingTypes
The finding types that have the most findings, with counts.
This is a convenience method that creates an instance of theFindingTypeCount.Builderavoiding the need to create one manually viaFindingTypeCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopFindingTypes(List<FindingTypeCount>).- Parameters:
topFindingTypes- a consumer that will call methods onFindingTypeCount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
byTimeWindow
The number of findings in each time window.
- Parameters:
byTimeWindow- The number of findings in each time window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byTimeWindow
The number of findings in each time window.
- Parameters:
byTimeWindow- The number of findings in each time window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byTimeWindow
The number of findings in each time window.
This is a convenience method that creates an instance of theTimeWindowGroup.Builderavoiding the need to create one manually viaTimeWindowGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobyTimeWindow(List<TimeWindowGroup>).- Parameters:
byTimeWindow- a consumer that will call methods onTimeWindowGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-