Class PeerRoute
java.lang.Object
com.azure.resourcemanager.network.models.PeerRoute
Peer routing details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasPath()Get the asPath property: The route's AS path sequence.Get the localAddress property: The peer's local address.network()Get the network property: The route's network prefix.nextHop()Get the nextHop property: The route's next hop.origin()Get the origin property: The source this route was learned from.Get the sourcePeer property: The peer this route was learned from.voidvalidate()Validates the instance.weight()Get the weight property: The route's weight.
-
Constructor Details
-
PeerRoute
public PeerRoute()Creates an instance of PeerRoute class.
-
-
Method Details
-
localAddress
Get the localAddress property: The peer's local address.- Returns:
- the localAddress value.
-
network
Get the network property: The route's network prefix.- Returns:
- the network value.
-
nextHop
Get the nextHop property: The route's next hop.- Returns:
- the nextHop value.
-
sourcePeer
Get the sourcePeer property: The peer this route was learned from.- Returns:
- the sourcePeer value.
-
origin
Get the origin property: The source this route was learned from.- Returns:
- the origin value.
-
asPath
Get the asPath property: The route's AS path sequence.- Returns:
- the asPath value.
-
weight
Get the weight property: The route's weight.- Returns:
- the weight value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-