public static class HostPortScanResultSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public HostPortScanResultSummary.Builder id(String id)
Unique identifier of the scan
id
- the value to setpublic HostPortScanResultSummary.Builder displayName(String displayName)
Name of the resource
displayName
- the value to setpublic HostPortScanResultSummary.Builder instanceId(String instanceId)
Instance ID of the Compute Instance scanned
instanceId
- the value to setpublic HostPortScanResultSummary.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 HostPortScanResultSummary.Builder highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity)
Highest problem severity in this report
highestProblemSeverity
- the value to setpublic HostPortScanResultSummary.Builder openPortCount(Integer openPortCount)
Total number of open ports across all attached VNICs found in this scan
openPortCount
- the value to setpublic HostPortScanResultSummary.Builder timeStarted(Date timeStarted)
Date and time the scan was started, as described in RFC 3339
timeStarted
- the value to setpublic HostPortScanResultSummary.Builder timeFinished(Date timeFinished)
Date and time the scan was completed, as described in RFC 3339
timeFinished
- the value to setpublic HostPortScanResultSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the result.
lifecycleState
- the value to setpublic HostPortScanResultSummary build()
public HostPortScanResultSummary.Builder copy(HostPortScanResultSummary model)
Copyright © 2016–2024. All rights reserved.