public static class NetworkConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NetworkConfiguration |
build() |
NetworkConfiguration.Builder |
copy(NetworkConfiguration model) |
NetworkConfiguration.Builder |
numberOfHops(Integer numberOfHops)
Number of hops.
|
NetworkConfiguration.Builder |
probeMode(ProbeMode probeMode)
Type of probe mode when TCP protocol is selected.
|
NetworkConfiguration.Builder |
probePerHop(Integer probePerHop)
Number of probes per hop.
|
NetworkConfiguration.Builder |
protocol(Protocol protocol)
Type of protocol.
|
NetworkConfiguration.Builder |
transmissionRate(Integer transmissionRate)
Number of probe packets sent out simultaneously.
|
public NetworkConfiguration.Builder numberOfHops(Integer numberOfHops)
Number of hops.
numberOfHops
- the value to setpublic NetworkConfiguration.Builder probePerHop(Integer probePerHop)
Number of probes per hop.
probePerHop
- the value to setpublic NetworkConfiguration.Builder transmissionRate(Integer transmissionRate)
Number of probe packets sent out simultaneously.
transmissionRate
- the value to setpublic NetworkConfiguration.Builder protocol(Protocol protocol)
Type of protocol.
protocol
- the value to setpublic NetworkConfiguration.Builder probeMode(ProbeMode probeMode)
Type of probe mode when TCP protocol is selected.
probeMode
- the value to setpublic NetworkConfiguration build()
public NetworkConfiguration.Builder copy(NetworkConfiguration model)
Copyright © 2016–2024. All rights reserved.