Interface Cvss.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Cvss.Builder,,Cvss> SdkBuilder<Cvss.Builder,,Cvss> SdkPojo
- Enclosing class:
Cvss
-
Method Summary
Modifier and TypeMethodDescriptionadjustments(Collection<Adjustment> adjustments) Adjustments to the CVSS metrics.adjustments(Consumer<Adjustment.Builder>... adjustments) Adjustments to the CVSS metrics.adjustments(Adjustment... adjustments) Adjustments to the CVSS metrics.The base CVSS score.baseVector(String baseVector) The base scoring vector for the CVSS score.The origin of the original CVSS score and vector.The version of CVSS for the CVSS 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, sdkFields
-
Method Details
-
version
The version of CVSS for the CVSS score.
- Parameters:
version- The version of CVSS for the CVSS score.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseScore
The base CVSS score.
- Parameters:
baseScore- The base CVSS score.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseVector
The base scoring vector for the CVSS score.
- Parameters:
baseVector- The base scoring vector for the CVSS score.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The origin of the original CVSS score and vector.
- Parameters:
source- The origin of the original CVSS score and vector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adjustments
Adjustments to the CVSS metrics.
- Parameters:
adjustments- Adjustments to the CVSS metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adjustments
Adjustments to the CVSS metrics.
- Parameters:
adjustments- Adjustments to the CVSS metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adjustments
Adjustments to the CVSS metrics.
This is a convenience method that creates an instance of theAdjustment.Builderavoiding the need to create one manually viaAdjustment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadjustments(List<Adjustment>).- Parameters:
adjustments- a consumer that will call methods onAdjustment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-