Interface CvssScoreDetails.Builder

  • Method Details

    • adjustments

      An object that contains details about adjustment Amazon Inspector made to the CVSS score.

      Parameters:
      adjustments - An object that contains details about adjustment Amazon Inspector made to the CVSS score.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adjustments

      CvssScoreDetails.Builder adjustments(CvssScoreAdjustment... adjustments)

      An object that contains details about adjustment Amazon Inspector made to the CVSS score.

      Parameters:
      adjustments - An object that contains details about adjustment Amazon Inspector made to the CVSS score.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adjustments

      An object that contains details about adjustment Amazon Inspector made to the CVSS score.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to adjustments(List<CvssScoreAdjustment>).

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

      CvssScoreDetails.Builder cvssSource(String cvssSource)

      The source of the CVSS data.

      Parameters:
      cvssSource - The source of the CVSS data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • score

      The CVSS score.

      Parameters:
      score - The CVSS score.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scoreSource

      CvssScoreDetails.Builder scoreSource(String scoreSource)

      The source for the CVSS score.

      Parameters:
      scoreSource - The source for the CVSS score.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scoringVector

      CvssScoreDetails.Builder scoringVector(String scoringVector)

      The vector for the CVSS score.

      Parameters:
      scoringVector - The vector for the CVSS score.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      CvssScoreDetails.Builder version(String version)

      The CVSS version used in scoring.

      Parameters:
      version - The CVSS version used in scoring.
      Returns:
      Returns a reference to this object so that method calls can be chained together.