Class HostPortScanResultOpenPort.Builder
- java.lang.Object
-
- com.oracle.bmc.vulnerabilityscanning.model.HostPortScanResultOpenPort.Builder
-
- Enclosing class:
- HostPortScanResultOpenPort
public static class HostPortScanResultOpenPort.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostPortScanResultOpenPort
build()
HostPortScanResultOpenPort.Builder
copy(HostPortScanResultOpenPort model)
HostPortScanResultOpenPort.Builder
ipAddress(String ipAddress)
IP Address open port was found onHostPortScanResultOpenPort.Builder
port(Integer port)
Open portHostPortScanResultOpenPort.Builder
protocol(String protocol)
Protocol of the open portHostPortScanResultOpenPort.Builder
service(String service)
Service running on the port (if detected)HostPortScanResultOpenPort.Builder
severity(ScanResultProblemSeverity severity)
Problem severityHostPortScanResultOpenPort.Builder
vnicId(String vnicId)
ID of the attached VNIC that exposed the IP Address scanned
-
-
-
Method Detail
-
port
public HostPortScanResultOpenPort.Builder port(Integer port)
Open port- Parameters:
port
- the value to set- Returns:
- this builder
-
protocol
public HostPortScanResultOpenPort.Builder protocol(String protocol)
Protocol of the open port- Parameters:
protocol
- the value to set- Returns:
- this builder
-
ipAddress
public HostPortScanResultOpenPort.Builder ipAddress(String ipAddress)
IP Address open port was found on- Parameters:
ipAddress
- the value to set- Returns:
- this builder
-
vnicId
public HostPortScanResultOpenPort.Builder vnicId(String vnicId)
ID of the attached VNIC that exposed the IP Address scanned- Parameters:
vnicId
- the value to set- Returns:
- this builder
-
service
public HostPortScanResultOpenPort.Builder service(String service)
Service running on the port (if detected)- Parameters:
service
- the value to set- Returns:
- this builder
-
severity
public HostPortScanResultOpenPort.Builder severity(ScanResultProblemSeverity severity)
Problem severity- Parameters:
severity
- the value to set- Returns:
- this builder
-
build
public HostPortScanResultOpenPort build()
-
copy
public HostPortScanResultOpenPort.Builder copy(HostPortScanResultOpenPort model)
-
-