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.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.adjustedCvss
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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.Builder
avoiding the need to create one manually viaCvssScoreDetails.builder()
.When the
Consumer
completes,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:
-