Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Link |
build() |
Link.Builder |
copy(Link model) |
Link.Builder |
delayInMilliseconds(Double delayInMilliseconds)
Difference of the packet response time between source and destination nodes, in
milliseconds.
|
Link.Builder |
destination(String destination)
ID of the destination node.
|
Link.Builder |
forwardingLoss(Double forwardingLoss)
Average packet loss.
|
Link.Builder |
id(String id)
ID of the link.
|
Link.Builder |
maxDelayInMilliseconds(Double maxDelayInMilliseconds)
Maximum delay in milliseconds.
|
Link.Builder |
minDelayInMilliseconds(Double minDelayInMilliseconds)
Minimum delay in milliseconds.
|
Link.Builder |
paths(List<String> paths)
List of all path IDs of which this link is part of.
|
Link.Builder |
repeatCount(Integer repeatCount)
Number of times the link is repeated.
|
Link.Builder |
source(String source)
ID of the source node.
|
public Link.Builder id(String id)
ID of the link.
id
- the value to setpublic Link.Builder source(String source)
ID of the source node.
source
- the value to setpublic Link.Builder destination(String destination)
ID of the destination node.
destination
- the value to setpublic Link.Builder repeatCount(Integer repeatCount)
Number of times the link is repeated.
repeatCount
- the value to setpublic Link.Builder forwardingLoss(Double forwardingLoss)
Average packet loss.
forwardingLoss
- the value to setpublic Link.Builder delayInMilliseconds(Double delayInMilliseconds)
Difference of the packet response time between source and destination nodes, in milliseconds.
delayInMilliseconds
- the value to setpublic Link.Builder minDelayInMilliseconds(Double minDelayInMilliseconds)
Minimum delay in milliseconds.
minDelayInMilliseconds
- the value to setpublic Link.Builder maxDelayInMilliseconds(Double maxDelayInMilliseconds)
Maximum delay in milliseconds.
maxDelayInMilliseconds
- the value to setpublic Link.Builder paths(List<String> paths)
List of all path IDs of which this link is part of.
paths
- the value to setpublic Link build()
public Link.Builder copy(Link model)
Copyright © 2016–2024. All rights reserved.