public static class HostAgentScanResultProblem.Builder extends Object
Constructor and Description |
---|
Builder() |
public HostAgentScanResultProblem.Builder name(String name)
Name of the problem
name
- the value to setpublic HostAgentScanResultProblem.Builder description(String description)
Problem description
description
- the value to setpublic HostAgentScanResultProblem.Builder severity(ScanResultProblemSeverity severity)
Problem severity
severity
- the value to setpublic HostAgentScanResultProblem.Builder state(ScanResultVulnerabilityState state)
State of the vulnerability
state
- the value to setpublic HostAgentScanResultProblem.Builder cveReference(String cveReference)
Reference to problem MITRE CVE ID
cveReference
- the value to setpublic HostAgentScanResultProblem.Builder issueId(Integer issueId)
Reference to problem issue ID
issueId
- the value to setpublic HostAgentScanResultProblem.Builder timeFirstDetected(Date timeFirstDetected)
Date of scan result that first reported the vulnerability
timeFirstDetected
- the value to setpublic HostAgentScanResultProblem.Builder timeLastDetected(Date timeLastDetected)
Date of scan result that most recently reported the vulnerability
timeLastDetected
- the value to setpublic HostAgentScanResultProblem.Builder vulnerablePackages(List<Package> vulnerablePackages)
Packages in which the problem is detected
vulnerablePackages
- the value to setpublic HostAgentScanResultProblem build()
public HostAgentScanResultProblem.Builder copy(HostAgentScanResultProblem model)
Copyright © 2016–2025. All rights reserved.