Interface ImageScanFindings.Builder

    • 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.
      • 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.