public static class HostVulnerabilitySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public HostVulnerabilitySummary.Builder id(String id)
ID of the vulnerability
id
- the value to setpublic HostVulnerabilitySummary.Builder compartmentId(String compartmentId)
Compartment ID of the vulnerability. Vulnerabilities with identical CVEs can exist in different compartments.
compartmentId
- the value to setpublic HostVulnerabilitySummary.Builder cveReference(String cveReference)
Reference to MITRE CVE ID
cveReference
- the value to setpublic HostVulnerabilitySummary.Builder severity(ScanResultProblemSeverity severity)
Severity of the vulnerability
severity
- the value to setpublic HostVulnerabilitySummary.Builder state(ScanResultVulnerabilityState state)
State of the vulnerability
state
- the value to setpublic HostVulnerabilitySummary.Builder name(String name)
Vulnerability name
name
- the value to setpublic HostVulnerabilitySummary.Builder timeLastDetected(Date timeLastDetected)
Date of scan result that most recently reported the vulnerability
timeLastDetected
- the value to setpublic HostVulnerabilitySummary.Builder timeFirstDetected(Date timeFirstDetected)
Date of scan result that first reported the vulnerability
timeFirstDetected
- the value to setpublic HostVulnerabilitySummary.Builder hostCount(Integer hostCount)
Number of scanned hosts in this compartment whose scan results currently report this vulnerability
hostCount
- the value to setpublic HostVulnerabilitySummary.Builder vulnerabilityType(VulnerabilityType vulnerabilityType)
Specifies the type of Vulnerability
vulnerabilityType
- the value to setpublic HostVulnerabilitySummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the resource.
lifecycleState
- the value to setpublic HostVulnerabilitySummary build()
public HostVulnerabilitySummary.Builder copy(HostVulnerabilitySummary model)
Copyright © 2016–2024. All rights reserved.