Interface CvssScoreDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CvssScoreDetails.Builder,,CvssScoreDetails> SdkBuilder<CvssScoreDetails.Builder,,CvssScoreDetails> SdkPojo
- Enclosing class:
CvssScoreDetails
-
Method Summary
Modifier and TypeMethodDescriptionadjustments(Collection<CvssScoreAdjustment> adjustments) The adjustments that Amazon Inspector applied to the base CVSS score to produce its own score for the finding.adjustments(Consumer<CvssScoreAdjustment.Builder>... adjustments) The adjustments that Amazon Inspector applied to the base CVSS score to produce its own score for the finding.adjustments(CvssScoreAdjustment... adjustments) The adjustments that Amazon Inspector applied to the base CVSS score to produce its own score for the finding.cvssSource(String cvssSource) The source of the CVSS data that the Amazon Inspector score for the finding is based on, for example NVD or a vendor security feed.The CVSS score.scoreSource(String scoreSource) The source for the CVSS score.scoringVector(String scoringVector) A vector that measures the severity of the vulnerability.The CVSS version that generated the score.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
The source of the CVSS data that the Amazon Inspector score for the finding is based on, for example NVD or a vendor security feed.
- Parameters:
cvssSource- The source of the CVSS data that the Amazon Inspector score for the finding is based on, for example NVD or a vendor security feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The CVSS score.
- Parameters:
score- The CVSS score.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The adjustments that Amazon Inspector applied to the base CVSS score to produce its own score for the finding. The list is empty when Amazon Inspector made no adjustments.
- Parameters:
adjustments- The adjustments that Amazon Inspector applied to the base CVSS score to produce its own score for the finding. The list is empty when Amazon Inspector made no adjustments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adjustments
The adjustments that Amazon Inspector applied to the base CVSS score to produce its own score for the finding. The list is empty when Amazon Inspector made no adjustments.
- Parameters:
adjustments- The adjustments that Amazon Inspector applied to the base CVSS score to produce its own score for the finding. The list is empty when Amazon Inspector made no adjustments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adjustments
The adjustments that Amazon Inspector applied to the base CVSS score to produce its own score for the finding. The list is empty when Amazon Inspector made no adjustments.
This is a convenience method that creates an instance of theCvssScoreAdjustment.Builderavoiding the need to create one manually viaCvssScoreAdjustment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadjustments(List<CvssScoreAdjustment>).- Parameters:
adjustments- a consumer that will call methods onCvssScoreAdjustment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-