Class HostVulnerabilitySummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.vulnerabilityscanning.model.HostVulnerabilitySummary.Builder
 
- 
- Enclosing class:
- HostVulnerabilitySummary
 
 public static class HostVulnerabilitySummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic HostVulnerabilitySummary.Builder id(String id) ID of the vulnerability- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic HostVulnerabilitySummary.Builder compartmentId(String compartmentId) Compartment ID of the vulnerability.Vulnerabilities with identical CVEs can exist in different compartments. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
cveReferencepublic HostVulnerabilitySummary.Builder cveReference(String cveReference) Reference to MITRE CVE ID- Parameters:
- cveReference- the value to set
- Returns:
- this builder
 
 - 
severitypublic HostVulnerabilitySummary.Builder severity(ScanResultProblemSeverity severity) Severity of the vulnerability- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
statepublic HostVulnerabilitySummary.Builder state(ScanResultVulnerabilityState state) State of the vulnerability- Parameters:
- state- the value to set
- Returns:
- this builder
 
 - 
namepublic HostVulnerabilitySummary.Builder name(String name) Vulnerability name- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
timeLastDetectedpublic HostVulnerabilitySummary.Builder timeLastDetected(Date timeLastDetected) Date of scan result that most recently reported the vulnerability- Parameters:
- timeLastDetected- the value to set
- Returns:
- this builder
 
 - 
timeFirstDetectedpublic HostVulnerabilitySummary.Builder timeFirstDetected(Date timeFirstDetected) Date of scan result that first reported the vulnerability- Parameters:
- timeFirstDetected- the value to set
- Returns:
- this builder
 
 - 
hostCountpublic HostVulnerabilitySummary.Builder hostCount(Integer hostCount) Number of scanned hosts in this compartment whose scan results currently report this vulnerability- Parameters:
- hostCount- the value to set
- Returns:
- this builder
 
 - 
vulnerabilityTypepublic HostVulnerabilitySummary.Builder vulnerabilityType(VulnerabilityType vulnerabilityType) Specifies the type of Vulnerability- Parameters:
- vulnerabilityType- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic HostVulnerabilitySummary.Builder lifecycleState(LifecycleState lifecycleState) The current state of the resource.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
buildpublic HostVulnerabilitySummary build() 
 - 
copypublic HostVulnerabilitySummary.Builder copy(HostVulnerabilitySummary model) 
 
- 
 
-