public static interface PackageVulnerabilityDetails.Builder extends SdkPojo, CopyableBuilder<PackageVulnerabilityDetails.Builder,PackageVulnerabilityDetails>
| Modifier and Type | Method and Description |
|---|---|
PackageVulnerabilityDetails.Builder |
cvss(Collection<CvssScore> cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
|
PackageVulnerabilityDetails.Builder |
cvss(Consumer<CvssScore.Builder>... cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
|
PackageVulnerabilityDetails.Builder |
cvss(CvssScore... cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
|
PackageVulnerabilityDetails.Builder |
referenceUrls(Collection<String> referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the
package.
|
PackageVulnerabilityDetails.Builder |
referenceUrls(String... referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the
package.
|
PackageVulnerabilityDetails.Builder |
relatedVulnerabilities(Collection<String> relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
|
PackageVulnerabilityDetails.Builder |
relatedVulnerabilities(String... relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
|
PackageVulnerabilityDetails.Builder |
source(String source)
The source of the vulnerability information.
|
PackageVulnerabilityDetails.Builder |
sourceUrl(String sourceUrl)
A link to the source of the vulnerability information.
|
PackageVulnerabilityDetails.Builder |
vendorCreatedAt(Instant vendorCreatedAt)
The date and time when this vulnerability was first added to the vendor's database.
|
PackageVulnerabilityDetails.Builder |
vendorSeverity(String vendorSeverity)
The severity that the vendor assigned to this vulnerability type.
|
PackageVulnerabilityDetails.Builder |
vendorUpdatedAt(Instant vendorUpdatedAt)
The date and time when the vendor last updated this vulnerability in their database.
|
PackageVulnerabilityDetails.Builder |
vulnerabilityId(String vulnerabilityId)
A unique identifier for this vulnerability.
|
PackageVulnerabilityDetails.Builder |
vulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages that this vulnerability impacts.
|
PackageVulnerabilityDetails.Builder |
vulnerablePackages(Consumer<VulnerablePackage.Builder>... vulnerablePackages)
The packages that this vulnerability impacts.
|
PackageVulnerabilityDetails.Builder |
vulnerablePackages(VulnerablePackage... vulnerablePackages)
The packages that this vulnerability impacts.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPackageVulnerabilityDetails.Builder vulnerabilityId(String vulnerabilityId)
A unique identifier for this vulnerability.
vulnerabilityId - A unique identifier for this vulnerability.PackageVulnerabilityDetails.Builder vulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages that this vulnerability impacts.
vulnerablePackages - The packages that this vulnerability impacts.PackageVulnerabilityDetails.Builder vulnerablePackages(VulnerablePackage... vulnerablePackages)
The packages that this vulnerability impacts.
vulnerablePackages - The packages that this vulnerability impacts.PackageVulnerabilityDetails.Builder vulnerablePackages(Consumer<VulnerablePackage.Builder>... vulnerablePackages)
The packages that this vulnerability impacts.
This is a convenience method that creates an instance of theVulnerablePackage.Builder avoiding the need to
create one manually via
VulnerablePackage.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #vulnerablePackages(List.
vulnerablePackages - a consumer that will call methods on
VulnerablePackage.Builder#vulnerablePackages(java.util.Collection) PackageVulnerabilityDetails.Builder source(String source)
The source of the vulnerability information.
source - The source of the vulnerability information.PackageVulnerabilityDetails.Builder cvss(Collection<CvssScore> cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
cvss - CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.PackageVulnerabilityDetails.Builder cvss(CvssScore... cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
cvss - CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.PackageVulnerabilityDetails.Builder cvss(Consumer<CvssScore.Builder>... cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
This is a convenience method that creates an instance of theCvssScore.Builder avoiding the need to create one
manually via CvssScore.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #cvss(List.
cvss - a consumer that will call methods on
CvssScore.Builder#cvss(java.util.Collection) PackageVulnerabilityDetails.Builder relatedVulnerabilities(Collection<String> relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
relatedVulnerabilities - Vulnerabilities that are often related to the findings for the package.PackageVulnerabilityDetails.Builder relatedVulnerabilities(String... relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
relatedVulnerabilities - Vulnerabilities that are often related to the findings for the package.PackageVulnerabilityDetails.Builder sourceUrl(String sourceUrl)
A link to the source of the vulnerability information.
sourceUrl - A link to the source of the vulnerability information.PackageVulnerabilityDetails.Builder vendorSeverity(String vendorSeverity)
The severity that the vendor assigned to this vulnerability type.
vendorSeverity - The severity that the vendor assigned to this vulnerability type.PackageVulnerabilityDetails.Builder vendorCreatedAt(Instant vendorCreatedAt)
The date and time when this vulnerability was first added to the vendor's database.
vendorCreatedAt - The date and time when this vulnerability was first added to the vendor's database.PackageVulnerabilityDetails.Builder vendorUpdatedAt(Instant vendorUpdatedAt)
The date and time when the vendor last updated this vulnerability in their database.
vendorUpdatedAt - The date and time when the vendor last updated this vulnerability in their database.PackageVulnerabilityDetails.Builder referenceUrls(Collection<String> referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the package.
referenceUrls - Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for
the package.PackageVulnerabilityDetails.Builder referenceUrls(String... referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the package.
referenceUrls - Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for
the package.Copyright © 2023. All rights reserved.