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