Interface ImageScanFindings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageScanFindings.Builder,,ImageScanFindings> SdkBuilder<ImageScanFindings.Builder,,ImageScanFindings> SdkPojo
- Enclosing class:
ImageScanFindings
@Mutable
@NotThreadSafe
public static interface ImageScanFindings.Builder
extends SdkPojo, CopyableBuilder<ImageScanFindings.Builder,ImageScanFindings>
-
Method Summary
Modifier and TypeMethodDescriptionfindings(Collection<ImageScanFinding> findings) The findings from the image scan.findings(Consumer<ImageScanFinding.Builder>... findings) The findings from the image scan.findings(ImageScanFinding... findings) The findings from the image scan.findingSeverityCounts(Map<FindingSeverity, Integer> findingSeverityCounts) The image vulnerability counts, sorted by severity.findingSeverityCountsWithStrings(Map<String, Integer> findingSeverityCounts) The image vulnerability counts, sorted by severity.imageScanCompletedAt(Instant imageScanCompletedAt) The time when the last image scan was completed.vulnerabilitySourceUpdatedAt(Instant vulnerabilitySourceUpdatedAt) The time when the vulnerability data was last scanned.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
-
imageScanCompletedAt
The time when the last image scan was completed.
- Parameters:
imageScanCompletedAt- The time when the last image scan was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vulnerabilitySourceUpdatedAt
The time when the vulnerability data was last scanned.
- Parameters:
vulnerabilitySourceUpdatedAt- The time when the vulnerability data was last scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingSeverityCountsWithStrings
ImageScanFindings.Builder findingSeverityCountsWithStrings(Map<String, Integer> findingSeverityCounts) The image vulnerability counts, sorted by severity.
- Parameters:
findingSeverityCounts- The image vulnerability counts, sorted by severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingSeverityCounts
The image vulnerability counts, sorted by severity.
- Parameters:
findingSeverityCounts- The image vulnerability counts, sorted by severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings from the image scan.
- Parameters:
findings- The findings from the image scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings from the image scan.
- Parameters:
findings- The findings from the image scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings from the image scan.
This is a convenience method that creates an instance of theImageScanFinding.Builderavoiding the need to create one manually viaImageScanFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindings(List<ImageScanFinding>).- Parameters:
findings- a consumer that will call methods onImageScanFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-