Class Link.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.Link.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public Link.Builder id(String id)
ID of the link.- Parameters:
id
- the value to set- Returns:
- this builder
-
source
public Link.Builder source(String source)
ID of the source node.- Parameters:
source
- the value to set- Returns:
- this builder
-
destination
public Link.Builder destination(String destination)
ID of the destination node.- Parameters:
destination
- the value to set- Returns:
- this builder
-
repeatCount
public Link.Builder repeatCount(Integer repeatCount)
Number of times the link is repeated.- Parameters:
repeatCount
- the value to set- Returns:
- this builder
-
forwardingLoss
public Link.Builder forwardingLoss(Double forwardingLoss)
Average packet loss.- Parameters:
forwardingLoss
- the value to set- Returns:
- this builder
-
delayInMilliseconds
public Link.Builder delayInMilliseconds(Double delayInMilliseconds)
Difference of the packet response time between source and destination nodes, in milliseconds.- Parameters:
delayInMilliseconds
- the value to set- Returns:
- this builder
-
minDelayInMilliseconds
public Link.Builder minDelayInMilliseconds(Double minDelayInMilliseconds)
Minimum delay in milliseconds.- Parameters:
minDelayInMilliseconds
- the value to set- Returns:
- this builder
-
maxDelayInMilliseconds
public Link.Builder maxDelayInMilliseconds(Double maxDelayInMilliseconds)
Maximum delay in milliseconds.- Parameters:
maxDelayInMilliseconds
- the value to set- Returns:
- this builder
-
paths
public Link.Builder paths(List<String> paths)
List of all path IDs of which this link is part of.- Parameters:
paths
- the value to set- Returns:
- this builder
-
build
public Link build()
-
copy
public Link.Builder copy(Link model)
-
-