Interface ImageAggregation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageAggregation.Builder,,ImageAggregation> SdkBuilder<ImageAggregation.Builder,,ImageAggregation> SdkPojo
- Enclosing class:
ImageAggregation
@Mutable
@NotThreadSafe
public static interface ImageAggregation.Builder
extends SdkPojo, CopyableBuilder<ImageAggregation.Builder,ImageAggregation>
-
Method Summary
Modifier and TypeMethodDescriptionimageBuildVersionArn(String imageBuildVersionArn) The Amazon Resource Name (ARN) that identifies the image for this aggregation.default ImageAggregation.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 image.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 image.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
-
imageBuildVersionArn
The Amazon Resource Name (ARN) that identifies the image for this aggregation.
- Parameters:
imageBuildVersionArn- The Amazon Resource Name (ARN) that identifies the image for this aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified image.
- Parameters:
severityCounts- Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified image.
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:
-