Interface InspectorScoreDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InspectorScoreDetails.Builder,,InspectorScoreDetails> SdkBuilder<InspectorScoreDetails.Builder,,InspectorScoreDetails> SdkPojo
- Enclosing class:
InspectorScoreDetails
@Mutable
@NotThreadSafe
public static interface InspectorScoreDetails.Builder
extends SdkPojo, CopyableBuilder<InspectorScoreDetails.Builder,InspectorScoreDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InspectorScoreDetails.BuilderadjustedCvss(Consumer<CvssScoreDetails.Builder> adjustedCvss) The CVSS score that Amazon Inspector assigned to the finding after applying its adjustments.adjustedCvss(CvssScoreDetails adjustedCvss) The CVSS score that Amazon Inspector assigned to the finding after applying its adjustments.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
-
adjustedCvss
The CVSS score that Amazon Inspector assigned to the finding after applying its adjustments. It includes the score source, CVSS version, scoring vector, and the adjustments applied.
- Parameters:
adjustedCvss- The CVSS score that Amazon Inspector assigned to the finding after applying its adjustments. It includes the score source, CVSS version, scoring vector, and the adjustments applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adjustedCvss
The CVSS score that Amazon Inspector assigned to the finding after applying its adjustments. It includes the score source, CVSS version, scoring vector, and the adjustments applied.
This is a convenience method that creates an instance of theCvssScoreDetails.Builderavoiding the need to create one manually viaCvssScoreDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadjustedCvss(CvssScoreDetails).- Parameters:
adjustedCvss- a consumer that will call methods onCvssScoreDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-