Class HostAgentScanResultSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.vulnerabilityscanning.model.HostAgentScanResultSummary.Builder
-
- Enclosing class:
- HostAgentScanResultSummary
public static class HostAgentScanResultSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public HostAgentScanResultSummary.Builder id(String id)
Unique identifier of the scan- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public HostAgentScanResultSummary.Builder displayName(String displayName)
Name of the resource- Parameters:
displayName- the value to set- Returns:
- this builder
-
instanceId
public HostAgentScanResultSummary.Builder instanceId(String instanceId)
Instance ID of the Compute Instance scanned- Parameters:
instanceId- the value to set- Returns:
- this builder
-
compartmentId
public HostAgentScanResultSummary.Builder compartmentId(String compartmentId)
Compartment ID of the resource.This is set to the same as the compartment ID of the scan target
- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
highestProblemSeverity
public HostAgentScanResultSummary.Builder highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity)
Highest problem severity in this report- Parameters:
highestProblemSeverity- the value to set- Returns:
- this builder
-
operatingSystem
public HostAgentScanResultSummary.Builder operatingSystem(String operatingSystem)
Operating system of the host- Parameters:
operatingSystem- the value to set- Returns:
- this builder
-
problemCount
public HostAgentScanResultSummary.Builder problemCount(Integer problemCount)
Total number of problems found in this scan- Parameters:
problemCount- the value to set- Returns:
- this builder
-
timeStarted
public HostAgentScanResultSummary.Builder timeStarted(Date timeStarted)
Date and time the scan was started, as described in RFC 3339- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeFinished
public HostAgentScanResultSummary.Builder timeFinished(Date timeFinished)
Date and time the scan was completed, as described in RFC 3339- Parameters:
timeFinished- the value to set- Returns:
- this builder
-
lifecycleState
public HostAgentScanResultSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the result.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
vendor
public HostAgentScanResultSummary.Builder vendor(VendorType vendor)
Vendor which was used for this host scan agent.- Parameters:
vendor- the value to set- Returns:
- this builder
-
build
public HostAgentScanResultSummary build()
-
copy
public HostAgentScanResultSummary.Builder copy(HostAgentScanResultSummary model)
-
-