Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Node.Builder |
avgPacketLossPercent(Double avgPacketLossPercent)
Percentage of the average packet loss.
|
Node.Builder |
avgPacketResponseTimeInMs(Double avgPacketResponseTimeInMs)
Average packet response time in milliseconds.
|
Node |
build() |
Node.Builder |
consecutiveAnonymousCount(Integer consecutiveAnonymousCount)
Number of consecutive anonymous network nodes.
|
Node.Builder |
copy(Node model) |
Node.Builder |
displayName(String displayName)
Display name of the network node.
|
Node.Builder |
geoInfo(String geoInfo)
Geographical information of the network node.
|
Node.Builder |
id(String id)
ID of the network node.
|
Node.Builder |
ipAddress(String ipAddress)
IP address of the network node.
|
Node.Builder |
level(Integer level)
Level of the network node.
|
Node.Builder |
outgoingLinks(List<String> outgoingLinks)
Outgoing links from the network node.
|
Node.Builder |
type(Node.Type type)
Type of network node.
|
public Node.Builder id(String id)
ID of the network node.
id
- the value to setpublic Node.Builder ipAddress(String ipAddress)
IP address of the network node.
ipAddress
- the value to setpublic Node.Builder displayName(String displayName)
Display name of the network node.
displayName
- the value to setpublic Node.Builder geoInfo(String geoInfo)
Geographical information of the network node.
geoInfo
- the value to setpublic Node.Builder outgoingLinks(List<String> outgoingLinks)
Outgoing links from the network node.
outgoingLinks
- the value to setpublic Node.Builder consecutiveAnonymousCount(Integer consecutiveAnonymousCount)
Number of consecutive anonymous network nodes.
consecutiveAnonymousCount
- the value to setpublic Node.Builder level(Integer level)
Level of the network node.
level
- the value to setpublic Node.Builder avgPacketResponseTimeInMs(Double avgPacketResponseTimeInMs)
Average packet response time in milliseconds.
avgPacketResponseTimeInMs
- the value to setpublic Node.Builder avgPacketLossPercent(Double avgPacketLossPercent)
Percentage of the average packet loss.
avgPacketLossPercent
- the value to setpublic Node.Builder type(Node.Type type)
Type of network node.
type
- the value to setpublic Node build()
public Node.Builder copy(Node model)
Copyright © 2016–2024. All rights reserved.