public static interface Vulnerability.Builder extends SdkPojo, CopyableBuilder<Vulnerability.Builder,Vulnerability>
| Modifier and Type | Method and Description |
|---|---|
default Vulnerability.Builder |
filePath(Consumer<FilePath.Builder> filePath)
An object that describes the location of the detected security vulnerability in your code.
|
Vulnerability.Builder |
filePath(FilePath filePath)
An object that describes the location of the detected security vulnerability in your code.
|
Vulnerability.Builder |
id(String id)
The identifier for the vulnerability.
|
Vulnerability.Builder |
itemCount(Integer itemCount)
The number of times the vulnerability appears in your code.
|
Vulnerability.Builder |
referenceUrls(Collection<String> referenceUrls)
One or more URL addresses that contain details about a vulnerability.
|
Vulnerability.Builder |
referenceUrls(String... referenceUrls)
One or more URL addresses that contain details about a vulnerability.
|
Vulnerability.Builder |
relatedVulnerabilities(Collection<String> relatedVulnerabilities)
One or more vulnerabilities that are related to the vulnerability being described.
|
Vulnerability.Builder |
relatedVulnerabilities(String... relatedVulnerabilities)
One or more vulnerabilities that are related to the vulnerability being described.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVulnerability.Builder filePath(FilePath filePath)
An object that describes the location of the detected security vulnerability in your code.
filePath - An object that describes the location of the detected security vulnerability in your code.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.Builder avoiding the need to
create one manually via FilePath.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to filePath(FilePath).
filePath - a consumer that will call methods on FilePath.BuilderfilePath(FilePath)Vulnerability.Builder id(String id)
The identifier for the vulnerability.
id - The identifier for the vulnerability.Vulnerability.Builder itemCount(Integer itemCount)
The number of times the vulnerability appears in your code.
itemCount - The number of times the vulnerability appears in your code.Vulnerability.Builder referenceUrls(Collection<String> referenceUrls)
One or more URL addresses that contain details about a vulnerability.
referenceUrls - One or more URL addresses that contain details about a vulnerability.Vulnerability.Builder referenceUrls(String... referenceUrls)
One or more URL addresses that contain details about a vulnerability.
referenceUrls - One or more URL addresses that contain details about a vulnerability.Vulnerability.Builder relatedVulnerabilities(Collection<String> relatedVulnerabilities)
One or more vulnerabilities that are related to the vulnerability being described.
relatedVulnerabilities - One or more vulnerabilities that are related to the vulnerability being described.Vulnerability.Builder relatedVulnerabilities(String... relatedVulnerabilities)
One or more vulnerabilities that are related to the vulnerability being described.
relatedVulnerabilities - One or more vulnerabilities that are related to the vulnerability being described.Copyright © 2023. All rights reserved.