Interface ImagePipelineAggregation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImagePipelineAggregation.Builder,
,ImagePipelineAggregation> SdkBuilder<ImagePipelineAggregation.Builder,
,ImagePipelineAggregation> SdkPojo
- Enclosing class:
ImagePipelineAggregation
public static interface ImagePipelineAggregation.Builder
extends SdkPojo, CopyableBuilder<ImagePipelineAggregation.Builder,ImagePipelineAggregation>
-
Method Summary
Modifier and TypeMethodDescriptionimagePipelineArn
(String imagePipelineArn) The Amazon Resource Name (ARN) that identifies the image pipeline for this aggregation.default ImagePipelineAggregation.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 image pipeline.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 pipeline.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 Details
-
imagePipelineArn
The Amazon Resource Name (ARN) that identifies the image pipeline for this aggregation.
- Parameters:
imagePipelineArn
- The Amazon Resource Name (ARN) that identifies the image pipeline 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 pipeline.
- 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 pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
default ImagePipelineAggregation.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 image pipeline.
This is a convenience method that creates an instance of theSeverityCounts.Builder
avoiding the need to create one manually viaSeverityCounts.builder()
.When the
Consumer
completes,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:
-