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