Interface CvssScoreDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CvssScoreDetails.Builder,CvssScoreDetails>,SdkBuilder<CvssScoreDetails.Builder,CvssScoreDetails>,SdkPojo
- Enclosing class:
- CvssScoreDetails
public static interface CvssScoreDetails.Builder extends SdkPojo, CopyableBuilder<CvssScoreDetails.Builder,CvssScoreDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CvssScoreDetails.Builderadjustments(Collection<CvssScoreAdjustment> adjustments)An object that contains details about adjustment Amazon Inspector made to the CVSS score.CvssScoreDetails.Builderadjustments(Consumer<CvssScoreAdjustment.Builder>... adjustments)An object that contains details about adjustment Amazon Inspector made to the CVSS score.CvssScoreDetails.Builderadjustments(CvssScoreAdjustment... adjustments)An object that contains details about adjustment Amazon Inspector made to the CVSS score.CvssScoreDetails.Builderscore(Double score)The CVSS score.CvssScoreDetails.BuilderscoreSource(String scoreSource)The source for the CVSS score.CvssScoreDetails.BuilderscoringVector(String scoringVector)The vector for the CVSS score.CvssScoreDetails.Builderversion(String version)The CVSS version used in scoring.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
adjustments
CvssScoreDetails.Builder adjustments(Collection<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
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
CvssScoreDetails.Builder adjustments(Consumer<CvssScoreAdjustment.Builder>... 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 theCvssScoreAdjustment.Builderavoiding the need to create one manually viaCvssScoreAdjustment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#adjustments(List.) - 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:
#adjustments(java.util.Collection)
-
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.
-
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.
-
-