Interface Cvss.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Cvss.Builder,Cvss>,SdkBuilder<Cvss.Builder,Cvss>,SdkPojo
- Enclosing class:
- Cvss
public static interface Cvss.Builder extends SdkPojo, CopyableBuilder<Cvss.Builder,Cvss>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Cvss.Builderadjustments(Collection<Adjustment> adjustments)Adjustments to the CVSS metrics.Cvss.Builderadjustments(Consumer<Adjustment.Builder>... adjustments)Adjustments to the CVSS metrics.Cvss.Builderadjustments(Adjustment... adjustments)Adjustments to the CVSS metrics.Cvss.BuilderbaseScore(Double baseScore)The base CVSS score.Cvss.BuilderbaseVector(String baseVector)The base scoring vector for the CVSS score.Cvss.Buildersource(String source)The origin of the original CVSS score and vector.Cvss.Builderversion(String version)The version of CVSS for the CVSS score.-
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, sdkFields
-
-
-
-
Method Detail
-
version
Cvss.Builder version(String 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
Cvss.Builder baseScore(Double 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
Cvss.Builder baseVector(String 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
Cvss.Builder source(String 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
Cvss.Builder adjustments(Collection<Adjustment> 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
Cvss.Builder adjustments(Adjustment... 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
Cvss.Builder adjustments(Consumer<Adjustment.Builder>... 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 to#adjustments(List.) - 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:
#adjustments(java.util.Collection)
-
-