Interface Vulnerability.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Vulnerability.Builder,Vulnerability>,SdkBuilder<Vulnerability.Builder,Vulnerability>,SdkPojo
- Enclosing class:
- Vulnerability
public static interface Vulnerability.Builder extends SdkPojo, CopyableBuilder<Vulnerability.Builder,Vulnerability>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Vulnerability.BuilderfilePath(Consumer<FilePath.Builder> filePath)An object that describes the location of the detected security vulnerability in your code.Vulnerability.BuilderfilePath(FilePath filePath)An object that describes the location of the detected security vulnerability in your code.Vulnerability.Builderid(String id)The identifier for the vulnerability.Vulnerability.BuilderitemCount(Integer itemCount)The number of times the vulnerability appears in your code.Vulnerability.BuilderreferenceUrls(String... referenceUrls)One or more URL addresses that contain details about a vulnerability.Vulnerability.BuilderreferenceUrls(Collection<String> referenceUrls)One or more URL addresses that contain details about a vulnerability.Vulnerability.BuilderrelatedVulnerabilities(String... relatedVulnerabilities)One or more vulnerabilities that are related to the vulnerability being described.Vulnerability.BuilderrelatedVulnerabilities(Collection<String> relatedVulnerabilities)One or more vulnerabilities that are related to the vulnerability being described.-
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
-
filePath
Vulnerability.Builder filePath(FilePath filePath)
An object that describes the location of the detected security vulnerability in your code.
- Parameters:
filePath- An object that describes the location of the detected security vulnerability in your code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePath
default Vulnerability.Builder filePath(Consumer<FilePath.Builder> filePath)
An object that describes the location of the detected security vulnerability in your code.
This is a convenience method that creates an instance of theFilePath.Builderavoiding the need to create one manually viaFilePath.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilePath(FilePath).- Parameters:
filePath- a consumer that will call methods onFilePath.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filePath(FilePath)
-
id
Vulnerability.Builder id(String id)
The identifier for the vulnerability.
- Parameters:
id- The identifier for the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemCount
Vulnerability.Builder itemCount(Integer itemCount)
The number of times the vulnerability appears in your code.
- Parameters:
itemCount- The number of times the vulnerability appears in your code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceUrls
Vulnerability.Builder referenceUrls(Collection<String> referenceUrls)
One or more URL addresses that contain details about a vulnerability.
- Parameters:
referenceUrls- One or more URL addresses that contain details about a vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceUrls
Vulnerability.Builder referenceUrls(String... referenceUrls)
One or more URL addresses that contain details about a vulnerability.
- Parameters:
referenceUrls- One or more URL addresses that contain details about a vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedVulnerabilities
Vulnerability.Builder relatedVulnerabilities(Collection<String> relatedVulnerabilities)
One or more vulnerabilities that are related to the vulnerability being described.
- Parameters:
relatedVulnerabilities- One or more vulnerabilities that are related to the vulnerability being described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedVulnerabilities
Vulnerability.Builder relatedVulnerabilities(String... relatedVulnerabilities)
One or more vulnerabilities that are related to the vulnerability being described.
- Parameters:
relatedVulnerabilities- One or more vulnerabilities that are related to the vulnerability being described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-