Interface CvssScoreDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CvssScoreDetails.Builder,,CvssScoreDetails> SdkBuilder<CvssScoreDetails.Builder,,CvssScoreDetails> SdkPojo
- Enclosing class:
CvssScoreDetails
@Mutable
@NotThreadSafe
public static interface CvssScoreDetails.Builder
extends SdkPojo, CopyableBuilder<CvssScoreDetails.Builder,CvssScoreDetails>
-
Method Summary
Modifier and TypeMethodDescriptionadjustments(Collection<CvssScoreAdjustment> adjustments) An object that contains details about the adjustments to the CVSS score.adjustments(Consumer<CvssScoreAdjustment.Builder>... adjustments) An object that contains details about the adjustments to the CVSS score.adjustments(CvssScoreAdjustment... adjustments) An object that contains details about the adjustments to the CVSS score.The CVSS score.scoreSource(String scoreSource) The source of the CVSS data.scoringVector(String scoringVector) The vector for the CVSS score.The CVSS version that's used in scoring.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
-
adjustments
An object that contains details about the adjustments to the CVSS score.
- Parameters:
adjustments- An object that contains details about the adjustments 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 the adjustments to the CVSS score.
- Parameters:
adjustments- An object that contains details about the adjustments 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 the adjustments to the CVSS score.
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:
-
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
The source of the CVSS data.
- Parameters:
scoreSource- The source of the CVSS data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The CVSS version that's used in scoring.
- Parameters:
version- The CVSS version that's used in scoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-