Interface InspectorScoreDetails.Builder

  • Method Details

    • adjustedCvss

      InspectorScoreDetails.Builder adjustedCvss(CvssScoreDetails adjustedCvss)

      The CVSS score that Amazon Inspector assigned to the finding after applying its adjustments. It includes the score source, CVSS version, scoring vector, and the adjustments applied.

      Parameters:
      adjustedCvss - The CVSS score that Amazon Inspector assigned to the finding after applying its adjustments. It includes the score source, CVSS version, scoring vector, and the adjustments applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adjustedCvss

      default InspectorScoreDetails.Builder adjustedCvss(Consumer<CvssScoreDetails.Builder> adjustedCvss)

      The CVSS score that Amazon Inspector assigned to the finding after applying its adjustments. It includes the score source, CVSS version, scoring vector, and the adjustments applied.

      This is a convenience method that creates an instance of the CvssScoreDetails.Builder avoiding the need to create one manually via CvssScoreDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to adjustedCvss(CvssScoreDetails).

      Parameters:
      adjustedCvss - a consumer that will call methods on CvssScoreDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: