Interface ImageFinding.Builder

  • Method Details

    • fixAvailable

      ImageFinding.Builder fixAvailable(Boolean fixAvailable)

      Specifies whether a fix is available for the finding. This value is true when Amazon Inspector reports a full or partial fix for the finding.

      Parameters:
      fixAvailable - Specifies whether a fix is available for the finding. This value is true when Amazon Inspector reports a full or partial fix for the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • score

      The Amazon Inspector score for the finding.

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

      ImageFinding.Builder firstObservedAt(Instant firstObservedAt)

      The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the finding.

      Parameters:
      firstObservedAt - The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      ImageFinding.Builder updatedAt(Instant updatedAt)

      The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the finding.

      Parameters:
      updatedAt - The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • paths

      The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10 file paths for each finding.

      Parameters:
      paths - The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10 file paths for each finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paths

      ImageFinding.Builder paths(String... paths)

      The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10 file paths for each finding.

      Parameters:
      paths - The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10 file paths for each finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityLabel

      ImageFinding.Builder severityLabel(String severityLabel)

      The severity of the finding.

      The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:

      • informational - CVSS score of 0.

      • low - CVSS score of 0.1 to 3.9.

      • medium - CVSS score of 4.0 to 6.9.

      • high - CVSS score of 7.0 to 8.9.

      • critical - CVSS score of 9.0 to 10.0.

      For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.

      Parameters:
      severityLabel - The severity of the finding.

      The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:

      • informational - CVSS score of 0.

      • low - CVSS score of 0.1 to 3.9.

      • medium - CVSS score of 4.0 to 6.9.

      • high - CVSS score of 7.0 to 8.9.

      • critical - CVSS score of 9.0 to 10.0.

      For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severityLabel

      ImageFinding.Builder severityLabel(SeverityLabel severityLabel)

      The severity of the finding.

      The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:

      • informational - CVSS score of 0.

      • low - CVSS score of 0.1 to 3.9.

      • medium - CVSS score of 4.0 to 6.9.

      • high - CVSS score of 7.0 to 8.9.

      • critical - CVSS score of 9.0 to 10.0.

      For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.

      Parameters:
      severityLabel - The severity of the finding.

      The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:

      • informational - CVSS score of 0.

      • low - CVSS score of 0.1 to 3.9.

      • medium - CVSS score of 4.0 to 6.9.

      • high - CVSS score of 7.0 to 8.9.

      • critical - CVSS score of 9.0 to 10.0.

      For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • snapshotId

      ImageFinding.Builder snapshotId(String snapshotId)

      The ID of the Amazon EBS snapshot of the AMI in which the finding was detected.

      Parameters:
      snapshotId - The ID of the Amazon EBS snapshot of the AMI in which the finding was detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.