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
Modifier and TypeMethodDescriptiondefault ScoreDetails.Buildercvss(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaCvssScoreDetails.builder().When the
Consumercompletes,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:
-