Interface CvssScoreDetails.Builder

    • Method Detail

      • 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.
      • cvssSource

        CvssScoreDetails.Builder cvssSource​(String cvssSource)

        The source of the finding.

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

        CvssScoreDetails.Builder version​(String version)

        The CVSS version that generated the score.

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

        CvssScoreDetails.Builder score​(Double score)

        The CVSS score.

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

        CvssScoreDetails.Builder scoringVector​(String scoringVector)

        A vector that measures the severity of the vulnerability.

        Parameters:
        scoringVector - A vector that measures the severity of the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • adjustments

        CvssScoreDetails.Builder adjustments​(Collection<CvssScoreAdjustment> adjustments)

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

        Parameters:
        adjustments - An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
        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 an adjustment that Amazon Inspector made to the CVSS score for the finding.

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