Interface ResourceFindingsSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceFindingsSummary.Builder,
,ResourceFindingsSummary> SdkBuilder<ResourceFindingsSummary.Builder,
,ResourceFindingsSummary> SdkPojo
- Enclosing class:
ResourceFindingsSummary
@Mutable
@NotThreadSafe
public static interface ResourceFindingsSummary.Builder
extends SdkPojo, CopyableBuilder<ResourceFindingsSummary.Builder,ResourceFindingsSummary>
-
Method Summary
Modifier and TypeMethodDescriptionfindingType
(String findingType) The category or classification of the security finding.productName
(String productName) The name of the product associated with the security finding.default ResourceFindingsSummary.Builder
severities
(Consumer<ResourceSeverityBreakdown.Builder> severities) A breakdown of security findings by their severity levels.severities
(ResourceSeverityBreakdown severities) A breakdown of security findings by their severity levels.totalFindings
(Integer totalFindings) The total count of security findings.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, sdkFieldNameToField, sdkFields
-
Method Details
-
findingType
The category or classification of the security finding.
- Parameters:
findingType
- The category or classification of the security finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productName
The name of the product associated with the security finding.
- Parameters:
productName
- The name of the product associated with the security finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalFindings
The total count of security findings.
- Parameters:
totalFindings
- The total count of security findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severities
A breakdown of security findings by their severity levels.
- Parameters:
severities
- A breakdown of security findings by their severity levels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severities
default ResourceFindingsSummary.Builder severities(Consumer<ResourceSeverityBreakdown.Builder> severities) A breakdown of security findings by their severity levels.
This is a convenience method that creates an instance of theResourceSeverityBreakdown.Builder
avoiding the need to create one manually viaResourceSeverityBreakdown.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseverities(ResourceSeverityBreakdown)
.- Parameters:
severities
- a consumer that will call methods onResourceSeverityBreakdown.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-