Interface ImageScanFinding.Builder

    • Method Detail

      • awsAccountId

        ImageScanFinding.Builder awsAccountId​(String awsAccountId)

        The Amazon Web Services account ID that's associated with the finding.

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

        ImageScanFinding.Builder imageBuildVersionArn​(String imageBuildVersionArn)

        The Amazon Resource Name (ARN) of the image build version that's associated with the finding.

        Parameters:
        imageBuildVersionArn - The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imagePipelineArn

        ImageScanFinding.Builder imagePipelineArn​(String imagePipelineArn)

        The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.

        Parameters:
        imagePipelineArn - The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        ImageScanFinding.Builder type​(String type)

        The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY that apply to output images, and excludes other types.

        Parameters:
        type - The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY that apply to output images, and excludes other types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

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

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

        ImageScanFinding.Builder remediation​(Remediation remediation)

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

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

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

        ImageScanFinding.Builder firstObservedAt​(Instant firstObservedAt)

        The date and time when the finding was first observed.

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

        ImageScanFinding.Builder updatedAt​(Instant updatedAt)

        The timestamp when the finding was last updated.

        Parameters:
        updatedAt - The timestamp when the finding was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inspectorScore

        ImageScanFinding.Builder inspectorScore​(Double inspectorScore)

        The score that Amazon Inspector assigned for the finding.

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

        ImageScanFinding.Builder inspectorScoreDetails​(InspectorScoreDetails inspectorScoreDetails)

        An object that contains details of the Amazon Inspector score.

        Parameters:
        inspectorScoreDetails - 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.
      • packageVulnerabilityDetails

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

        ImageScanFinding.Builder fixAvailable​(String fixAvailable)

        Details about whether a fix is available for any of the packages that are identified in the finding through a version update.

        Parameters:
        fixAvailable - Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.