public static class ApplicationDependencyVulnerabilitySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ApplicationDependencyVulnerabilitySummary.Builder |
applicationDependencyNodeIds(List<String> applicationDependencyNodeIds)
List of application dependencies on which this application dependency depends, each
identified by its nodeId.
|
ApplicationDependencyVulnerabilitySummary |
build() |
ApplicationDependencyVulnerabilitySummary.Builder |
copy(ApplicationDependencyVulnerabilitySummary model) |
ApplicationDependencyVulnerabilitySummary.Builder |
gav(String gav)
Group Artifact Version (GAV) identifier (Group:Artifact:Version).
|
ApplicationDependencyVulnerabilitySummary.Builder |
isFoundInKnowledgeBase(Boolean isFoundInKnowledgeBase)
Indicates if the artifact is found in the knowledge base.
|
ApplicationDependencyVulnerabilitySummary.Builder |
nodeId(String nodeId)
Unique identifier of an application dependency, for example nodeId1.
|
ApplicationDependencyVulnerabilitySummary.Builder |
purl(String purl)
Package URL defined in https://github.com/package-url/purl-spec, e.g.
|
ApplicationDependencyVulnerabilitySummary.Builder |
vulnerabilities(List<Vulnerability> vulnerabilities)
List of vulnerabilities for the application dependency.
|
public ApplicationDependencyVulnerabilitySummary.Builder gav(String gav)
Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0. “N/A” for non-maven artifacts.
gav
- the value to setpublic ApplicationDependencyVulnerabilitySummary.Builder purl(String purl)
Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
purl
- the value to setpublic ApplicationDependencyVulnerabilitySummary.Builder nodeId(String nodeId)
Unique identifier of an application dependency, for example nodeId1.
nodeId
- the value to setpublic ApplicationDependencyVulnerabilitySummary.Builder applicationDependencyNodeIds(List<String> applicationDependencyNodeIds)
List of application dependencies on which this application dependency depends, each identified by its nodeId.
applicationDependencyNodeIds
- the value to setpublic ApplicationDependencyVulnerabilitySummary.Builder vulnerabilities(List<Vulnerability> vulnerabilities)
List of vulnerabilities for the application dependency.
vulnerabilities
- the value to setpublic ApplicationDependencyVulnerabilitySummary.Builder isFoundInKnowledgeBase(Boolean isFoundInKnowledgeBase)
Indicates if the artifact is found in the knowledge base.
isFoundInKnowledgeBase
- the value to setpublic ApplicationDependencyVulnerabilitySummary build()
public ApplicationDependencyVulnerabilitySummary.Builder copy(ApplicationDependencyVulnerabilitySummary model)
Copyright © 2016–2024. All rights reserved.