Interface ImageScanFindings.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ImageScanFindings.Builder,ImageScanFindings>
,SdkBuilder<ImageScanFindings.Builder,ImageScanFindings>
,SdkPojo
- Enclosing class:
- ImageScanFindings
public static interface ImageScanFindings.Builder extends SdkPojo, CopyableBuilder<ImageScanFindings.Builder,ImageScanFindings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageScanFindings.Builder
enhancedFindings(Collection<EnhancedImageScanFinding> enhancedFindings)
Details about the enhanced scan findings from Amazon Inspector.ImageScanFindings.Builder
enhancedFindings(Consumer<EnhancedImageScanFinding.Builder>... enhancedFindings)
Details about the enhanced scan findings from Amazon Inspector.ImageScanFindings.Builder
enhancedFindings(EnhancedImageScanFinding... enhancedFindings)
Details about the enhanced scan findings from Amazon Inspector.ImageScanFindings.Builder
findings(Collection<ImageScanFinding> findings)
The findings from the image scan.ImageScanFindings.Builder
findings(Consumer<ImageScanFinding.Builder>... findings)
The findings from the image scan.ImageScanFindings.Builder
findings(ImageScanFinding... findings)
The findings from the image scan.ImageScanFindings.Builder
findingSeverityCounts(Map<FindingSeverity,Integer> findingSeverityCounts)
The image vulnerability counts, sorted by severity.ImageScanFindings.Builder
findingSeverityCountsWithStrings(Map<String,Integer> findingSeverityCounts)
The image vulnerability counts, sorted by severity.ImageScanFindings.Builder
imageScanCompletedAt(Instant imageScanCompletedAt)
The time of the last completed image scan.ImageScanFindings.Builder
vulnerabilitySourceUpdatedAt(Instant vulnerabilitySourceUpdatedAt)
The time when the vulnerability data was last scanned.-
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
-
imageScanCompletedAt
ImageScanFindings.Builder imageScanCompletedAt(Instant 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
ImageScanFindings.Builder vulnerabilitySourceUpdatedAt(Instant 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
ImageScanFindings.Builder findingSeverityCounts(Map<FindingSeverity,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.
-
findings
ImageScanFindings.Builder findings(Collection<ImageScanFinding> 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
ImageScanFindings.Builder findings(ImageScanFinding... 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
ImageScanFindings.Builder findings(Consumer<ImageScanFinding.Builder>... findings)
The findings from the image scan.
This is a convenience method that creates an instance of theImageScanFinding.Builder
avoiding the need to create one manually viaImageScanFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#findings(List
.) - 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:
#findings(java.util.Collection
)
-
enhancedFindings
ImageScanFindings.Builder enhancedFindings(Collection<EnhancedImageScanFinding> 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(EnhancedImageScanFinding... 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.Builder
avoiding the need to create one manually viaEnhancedImageScanFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#enhancedFindings(List
.) - 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:
#enhancedFindings(java.util.Collection
)
-
-