Interface InspectorScoreDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InspectorScoreDetails.Builder,InspectorScoreDetails>,SdkBuilder<InspectorScoreDetails.Builder,InspectorScoreDetails>,SdkPojo
- Enclosing class:
- InspectorScoreDetails
public static interface InspectorScoreDetails.Builder extends SdkPojo, CopyableBuilder<InspectorScoreDetails.Builder,InspectorScoreDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InspectorScoreDetails.BuilderadjustedCvss(Consumer<CvssScoreDetails.Builder> adjustedCvss)An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.InspectorScoreDetails.BuilderadjustedCvss(CvssScoreDetails adjustedCvss)An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.-
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
-
adjustedCvss
InspectorScoreDetails.Builder adjustedCvss(CvssScoreDetails adjustedCvss)
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
- Parameters:
adjustedCvss- An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adjustedCvss
default InspectorScoreDetails.Builder adjustedCvss(Consumer<CvssScoreDetails.Builder> adjustedCvss)
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
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:
adjustedCvss(CvssScoreDetails)
-
-