Interface EnhancedImageScanFinding.Builder

    • Method Detail

      • awsAccountId

        EnhancedImageScanFinding.Builder awsAccountId​(String awsAccountId)

        The Amazon Web Services account ID associated with the image.

        Parameters:
        awsAccountId - The Amazon Web Services account ID associated with the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        EnhancedImageScanFinding.Builder description​(String description)

        The description of the finding.

        Parameters:
        description - The description of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingArn

        EnhancedImageScanFinding.Builder findingArn​(String findingArn)

        The Amazon Resource Number (ARN) of the finding.

        Parameters:
        findingArn - The Amazon Resource Number (ARN) of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • firstObservedAt

        EnhancedImageScanFinding.Builder firstObservedAt​(Instant firstObservedAt)

        The date and time that the finding was first observed.

        Parameters:
        firstObservedAt - The date and time that the finding was first observed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastObservedAt

        EnhancedImageScanFinding.Builder lastObservedAt​(Instant lastObservedAt)

        The date and time that the finding was last observed.

        Parameters:
        lastObservedAt - The date and time that the finding was last observed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • packageVulnerabilityDetails

        EnhancedImageScanFinding.Builder packageVulnerabilityDetails​(PackageVulnerabilityDetails packageVulnerabilityDetails)

        An object that contains the details of a package vulnerability finding.

        Parameters:
        packageVulnerabilityDetails - An object that contains the details of a package vulnerability finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • remediation

        EnhancedImageScanFinding.Builder remediation​(Remediation remediation)

        An object that contains the details about how to remediate a finding.

        Parameters:
        remediation - An object that contains the details about how to remediate a finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        EnhancedImageScanFinding.Builder resources​(Collection<Resource> resources)

        Contains information on the resources involved in a finding.

        Parameters:
        resources - Contains information on the resources involved in a finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        EnhancedImageScanFinding.Builder resources​(Resource... resources)

        Contains information on the resources involved in a finding.

        Parameters:
        resources - Contains information on the resources involved in a finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • score

        EnhancedImageScanFinding.Builder score​(Double score)

        The Amazon Inspector score given to the finding.

        Parameters:
        score - The Amazon Inspector score given to the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scoreDetails

        EnhancedImageScanFinding.Builder scoreDetails​(ScoreDetails scoreDetails)

        An object that contains details of the Amazon Inspector score.

        Parameters:
        scoreDetails - An object that contains details of the Amazon Inspector score.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • severity

        EnhancedImageScanFinding.Builder severity​(String severity)

        The severity of the finding.

        Parameters:
        severity - The severity of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        EnhancedImageScanFinding.Builder status​(String status)

        The status of the finding.

        Parameters:
        status - The status of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • title

        EnhancedImageScanFinding.Builder title​(String title)

        The title of the finding.

        Parameters:
        title - The title of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        EnhancedImageScanFinding.Builder type​(String type)

        The type of the finding.

        Parameters:
        type - The type of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        EnhancedImageScanFinding.Builder updatedAt​(Instant updatedAt)

        The date and time the finding was last updated at.

        Parameters:
        updatedAt - The date and time the finding was last updated at.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fixAvailable

        EnhancedImageScanFinding.Builder fixAvailable​(String fixAvailable)

        Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

        Parameters:
        fixAvailable - Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exploitAvailable

        EnhancedImageScanFinding.Builder exploitAvailable​(String exploitAvailable)

        If a finding discovered in your environment has an exploit available.

        Parameters:
        exploitAvailable - If a finding discovered in your environment has an exploit available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.