public static class HostAgentScanResultSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public HostAgentScanResultSummary.Builder id(String id)
Unique identifier of the scan
id
- the value to setpublic HostAgentScanResultSummary.Builder displayName(String displayName)
Name of the resource
displayName
- the value to setpublic HostAgentScanResultSummary.Builder instanceId(String instanceId)
Instance ID of the Compute Instance scanned
instanceId
- the value to setpublic HostAgentScanResultSummary.Builder compartmentId(String compartmentId)
Compartment ID of the resource. This is set to the same as the compartment ID of the scan target
compartmentId
- the value to setpublic HostAgentScanResultSummary.Builder highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity)
Highest problem severity in this report
highestProblemSeverity
- the value to setpublic HostAgentScanResultSummary.Builder operatingSystem(String operatingSystem)
Operating system of the host
operatingSystem
- the value to setpublic HostAgentScanResultSummary.Builder problemCount(Integer problemCount)
Total number of problems found in this scan
problemCount
- the value to setpublic HostAgentScanResultSummary.Builder timeStarted(Date timeStarted)
Date and time the scan was started, as described in RFC 3339
timeStarted
- the value to setpublic HostAgentScanResultSummary.Builder timeFinished(Date timeFinished)
Date and time the scan was completed, as described in RFC 3339
timeFinished
- the value to setpublic HostAgentScanResultSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the result.
lifecycleState
- the value to setpublic HostAgentScanResultSummary.Builder vendor(VendorType vendor)
Vendor which was used for this host scan agent.
vendor
- the value to setpublic HostAgentScanResultSummary build()
public HostAgentScanResultSummary.Builder copy(HostAgentScanResultSummary model)
Copyright © 2016–2024. All rights reserved.