@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class Link extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of the link between two nodes.
Note: Objects should always be created or deserialized using the Link.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the Link.Builder
, which maintain a
set of all explicitly set fields called Link.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
Link.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Link(String id,
String source,
String destination,
Integer repeatCount,
Double forwardingLoss,
Double delayInMilliseconds,
Double minDelayInMilliseconds,
Double maxDelayInMilliseconds,
List<String> paths)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Link.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Double |
getDelayInMilliseconds()
Difference of the packet response time between source and destination nodes, in milliseconds.
|
String |
getDestination()
ID of the destination node.
|
Double |
getForwardingLoss()
Average packet loss.
|
String |
getId()
ID of the link.
|
Double |
getMaxDelayInMilliseconds()
Maximum delay in milliseconds.
|
Double |
getMinDelayInMilliseconds()
Minimum delay in milliseconds.
|
List<String> |
getPaths()
List of all path IDs of which this link is part of.
|
Integer |
getRepeatCount()
Number of times the link is repeated.
|
String |
getSource()
ID of the source node.
|
int |
hashCode() |
Link.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","source","destination","repeatCount","forwardingLoss","delayInMilliseconds","minDelayInMilliseconds","maxDelayInMilliseconds","paths"}) public Link(String id, String source, String destination, Integer repeatCount, Double forwardingLoss, Double delayInMilliseconds, Double minDelayInMilliseconds, Double maxDelayInMilliseconds, List<String> paths)
public static Link.Builder builder()
Create a new builder.
public Link.Builder toBuilder()
public String getId()
ID of the link.
public String getSource()
ID of the source node.
public String getDestination()
ID of the destination node.
public Integer getRepeatCount()
Number of times the link is repeated.
public Double getForwardingLoss()
Average packet loss.
public Double getDelayInMilliseconds()
Difference of the packet response time between source and destination nodes, in milliseconds.
public Double getMinDelayInMilliseconds()
Minimum delay in milliseconds.
public Double getMaxDelayInMilliseconds()
Maximum delay in milliseconds.
public List<String> getPaths()
List of all path IDs of which this link is part of.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.