Interface VulnerabilityIdAggregation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VulnerabilityIdAggregation.Builder,VulnerabilityIdAggregation>,SdkBuilder<VulnerabilityIdAggregation.Builder,VulnerabilityIdAggregation>,SdkPojo
- Enclosing class:
- VulnerabilityIdAggregation
public static interface VulnerabilityIdAggregation.Builder extends SdkPojo, CopyableBuilder<VulnerabilityIdAggregation.Builder,VulnerabilityIdAggregation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VulnerabilityIdAggregation.BuilderseverityCounts(Consumer<SeverityCounts.Builder> severityCounts)Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified vulnerability.VulnerabilityIdAggregation.BuilderseverityCounts(SeverityCounts severityCounts)Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified vulnerability.VulnerabilityIdAggregation.BuildervulnerabilityId(String vulnerabilityId)The vulnerability Id for this set of counts.-
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
-
vulnerabilityId
VulnerabilityIdAggregation.Builder vulnerabilityId(String vulnerabilityId)
The vulnerability Id for this set of counts.
- Parameters:
vulnerabilityId- The vulnerability Id for this set of counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
VulnerabilityIdAggregation.Builder severityCounts(SeverityCounts severityCounts)
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified vulnerability.
- Parameters:
severityCounts- Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
default VulnerabilityIdAggregation.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts)
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified vulnerability.
This is a convenience method that creates an instance of theSeverityCounts.Builderavoiding the need to create one manually viaSeverityCounts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toseverityCounts(SeverityCounts).- Parameters:
severityCounts- a consumer that will call methods onSeverityCounts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
severityCounts(SeverityCounts)
-
-