Interface ImageScanFindings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageScanFindings.Builder,,ImageScanFindings> SdkBuilder<ImageScanFindings.Builder,,ImageScanFindings> SdkPojo
- Enclosing class:
ImageScanFindings
-
Method Summary
Modifier and TypeMethodDescriptionenhancedFindings(Collection<EnhancedImageScanFinding> enhancedFindings) Details about the enhanced scan findings from Amazon Inspector.enhancedFindings(Consumer<EnhancedImageScanFinding.Builder>... enhancedFindings) Details about the enhanced scan findings from Amazon Inspector.enhancedFindings(EnhancedImageScanFinding... enhancedFindings) Details about the enhanced scan findings from Amazon Inspector.findings(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 of the last completed image scan.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, sdkFields
-
Method Details
-
imageScanCompletedAt
The time of the last completed image scan.
- Parameters:
imageScanCompletedAt- The time of the last completed image scan.- 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:
-
enhancedFindings
Details about the enhanced scan findings from Amazon Inspector.
- Parameters:
enhancedFindings- Details about the enhanced scan findings from Amazon Inspector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enhancedFindings
Details about the enhanced scan findings from Amazon Inspector.
- Parameters:
enhancedFindings- Details about the enhanced scan findings from Amazon Inspector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enhancedFindings
ImageScanFindings.Builder enhancedFindings(Consumer<EnhancedImageScanFinding.Builder>... enhancedFindings) Details about the enhanced scan findings from Amazon Inspector.
This is a convenience method that creates an instance of theEnhancedImageScanFinding.Builderavoiding the need to create one manually viaEnhancedImageScanFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenhancedFindings(List<EnhancedImageScanFinding>).- Parameters:
enhancedFindings- a consumer that will call methods onEnhancedImageScanFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-