Interface ScoreDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScoreDetails.Builder,
,ScoreDetails> SdkBuilder<ScoreDetails.Builder,
,ScoreDetails> SdkPojo
- Enclosing class:
ScoreDetails
@Mutable
@NotThreadSafe
public static interface ScoreDetails.Builder
extends SdkPojo, CopyableBuilder<ScoreDetails.Builder,ScoreDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ScoreDetails.Builder
cvss
(Consumer<CvssScoreDetails.Builder> cvss) An object that contains details about the CVSS score given to a finding.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-