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