public static class HostPortScanResultOpenPort.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostPortScanResultOpenPort |
build() |
HostPortScanResultOpenPort.Builder |
copy(HostPortScanResultOpenPort model) |
HostPortScanResultOpenPort.Builder |
ipAddress(String ipAddress)
IP Address open port was found on
|
HostPortScanResultOpenPort.Builder |
port(Integer port)
Open port
|
HostPortScanResultOpenPort.Builder |
protocol(String protocol)
Protocol of the open port
|
HostPortScanResultOpenPort.Builder |
service(String service)
Service running on the port (if detected)
|
HostPortScanResultOpenPort.Builder |
severity(ScanResultProblemSeverity severity)
Problem severity
|
HostPortScanResultOpenPort.Builder |
vnicId(String vnicId)
ID of the attached VNIC that exposed the IP Address scanned
|
public HostPortScanResultOpenPort.Builder port(Integer port)
Open port
port
- the value to setpublic HostPortScanResultOpenPort.Builder protocol(String protocol)
Protocol of the open port
protocol
- the value to setpublic HostPortScanResultOpenPort.Builder ipAddress(String ipAddress)
IP Address open port was found on
ipAddress
- the value to setpublic HostPortScanResultOpenPort.Builder vnicId(String vnicId)
ID of the attached VNIC that exposed the IP Address scanned
vnicId
- the value to setpublic HostPortScanResultOpenPort.Builder service(String service)
Service running on the port (if detected)
service
- the value to setpublic HostPortScanResultOpenPort.Builder severity(ScanResultProblemSeverity severity)
Problem severity
severity
- the value to setpublic HostPortScanResultOpenPort build()
public HostPortScanResultOpenPort.Builder copy(HostPortScanResultOpenPort model)
Copyright © 2016–2024. All rights reserved.