public static interface Cvss.Builder extends SdkPojo, CopyableBuilder<Cvss.Builder,Cvss>
| Modifier and Type | Method and Description |
|---|---|
Cvss.Builder |
adjustments(Adjustment... adjustments)
Adjustments to the CVSS metrics.
|
Cvss.Builder |
adjustments(Collection<Adjustment> adjustments)
Adjustments to the CVSS metrics.
|
Cvss.Builder |
adjustments(Consumer<Adjustment.Builder>... adjustments)
Adjustments to the CVSS metrics.
|
Cvss.Builder |
baseScore(Double baseScore)
The base CVSS score.
|
Cvss.Builder |
baseVector(String baseVector)
The base scoring vector for the CVSS score.
|
Cvss.Builder |
source(String source)
The origin of the original CVSS score and vector.
|
Cvss.Builder |
version(String version)
The version of CVSS for the CVSS score.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCvss.Builder version(String version)
The version of CVSS for the CVSS score.
version - The version of CVSS for the CVSS score.Cvss.Builder baseScore(Double baseScore)
The base CVSS score.
baseScore - The base CVSS score.Cvss.Builder baseVector(String baseVector)
The base scoring vector for the CVSS score.
baseVector - The base scoring vector for the CVSS score.Cvss.Builder source(String source)
The origin of the original CVSS score and vector.
source - The origin of the original CVSS score and vector.Cvss.Builder adjustments(Collection<Adjustment> adjustments)
Adjustments to the CVSS metrics.
adjustments - Adjustments to the CVSS metrics.Cvss.Builder adjustments(Adjustment... adjustments)
Adjustments to the CVSS metrics.
adjustments - Adjustments to the CVSS metrics.Cvss.Builder adjustments(Consumer<Adjustment.Builder>... adjustments)
Adjustments to the CVSS metrics.
This is a convenience method that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #adjustments(List) .adjustments - a consumer that will call methods on List.Builder #adjustments(List) Copyright © 2022. All rights reserved.