public static class PackageDetail.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PackageDetail |
build() |
PackageDetail.Builder |
cause(String cause)
cause of the vulnerability in the package
|
PackageDetail.Builder |
copy(PackageDetail model) |
PackageDetail.Builder |
location(String location)
location of the package
|
PackageDetail.Builder |
name(String name)
name of the package
|
PackageDetail.Builder |
packageType(String packageType)
type of the package
|
PackageDetail.Builder |
remediation(String remediation)
remediation for vulnerability
|
PackageDetail.Builder |
version(String version)
version of the package
|
public PackageDetail.Builder name(String name)
name of the package
name
- the value to setpublic PackageDetail.Builder packageType(String packageType)
type of the package
packageType
- the value to setpublic PackageDetail.Builder version(String version)
version of the package
version
- the value to setpublic PackageDetail.Builder cause(String cause)
cause of the vulnerability in the package
cause
- the value to setpublic PackageDetail.Builder location(String location)
location of the package
location
- the value to setpublic PackageDetail.Builder remediation(String remediation)
remediation for vulnerability
remediation
- the value to setpublic PackageDetail build()
public PackageDetail.Builder copy(PackageDetail model)
Copyright © 2016–2024. All rights reserved.