public static class CveDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CveDetails |
build() |
CveDetails.Builder |
copy(CveDetails model) |
CveDetails.Builder |
cveReference(String cveReference)
CVE ID.
|
CveDetails.Builder |
cvss3(String cvss3)
CVSS 3 Score.
|
CveDetails.Builder |
description(String description)
CVE description.
|
CveDetails.Builder |
exploitable(String exploitable)
Can this vulnerability be exploited.
|
CveDetails.Builder |
impact(String impact)
Impact on resource if this vulnerability is exploited.
|
CveDetails.Builder |
patchable(String patchable)
Can this vulnerability be patched.
|
CveDetails.Builder |
referenceUrl(String referenceUrl)
Reference link to know more about this vulnerability.
|
CveDetails.Builder |
relatedCveReference(String relatedCveReference)
ID of related CVE, if applicable.
|
CveDetails.Builder |
solution(String solution)
Recommended solution to fix this vulnerability.
|
CveDetails.Builder |
threat(String threat)
Threat this item poses to resource.
|
CveDetails.Builder |
timePublished(Date timePublished)
Date/time the CVE was published.
|
CveDetails.Builder |
timeUpdated(Date timeUpdated)
Date/time the CVE was last modified.
|
CveDetails.Builder |
title(String title)
Vulnerability title.
|
public CveDetails.Builder cveReference(String cveReference)
CVE ID.
cveReference
- the value to setpublic CveDetails.Builder title(String title)
Vulnerability title.
title
- the value to setpublic CveDetails.Builder description(String description)
CVE description.
description
- the value to setpublic CveDetails.Builder relatedCveReference(String relatedCveReference)
ID of related CVE, if applicable.
relatedCveReference
- the value to setpublic CveDetails.Builder cvss3(String cvss3)
CVSS 3 Score.
cvss3
- the value to setpublic CveDetails.Builder timePublished(Date timePublished)
Date/time the CVE was published.
timePublished
- the value to setpublic CveDetails.Builder timeUpdated(Date timeUpdated)
Date/time the CVE was last modified.
timeUpdated
- the value to setpublic CveDetails.Builder threat(String threat)
Threat this item poses to resource.
threat
- the value to setpublic CveDetails.Builder impact(String impact)
Impact on resource if this vulnerability is exploited.
impact
- the value to setpublic CveDetails.Builder solution(String solution)
Recommended solution to fix this vulnerability.
solution
- the value to setpublic CveDetails.Builder patchable(String patchable)
Can this vulnerability be patched.
patchable
- the value to setpublic CveDetails.Builder exploitable(String exploitable)
Can this vulnerability be exploited.
exploitable
- the value to setpublic CveDetails.Builder referenceUrl(String referenceUrl)
Reference link to know more about this vulnerability.
referenceUrl
- the value to setpublic CveDetails build()
public CveDetails.Builder copy(CveDetails model)
Copyright © 2016–2024. All rights reserved.