Class GatewayRoute
- java.lang.Object
-
- com.azure.resourcemanager.network.models.GatewayRoute
-
public final class GatewayRoute extends Object
Gateway routing details.
-
-
Constructor Summary
Constructors Constructor Description GatewayRoute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasPath()Get the asPath property: The route's AS path sequence.StringlocalAddress()Get the localAddress property: The gateway's local address.Stringnetwork()Get the network property: The route's network prefix.StringnextHop()Get the nextHop property: The route's next hop.Stringorigin()Get the origin property: The source this route was learned from.StringsourcePeer()Get the sourcePeer property: The peer this route was learned from.voidvalidate()Validates the instance.Integerweight()Get the weight property: The route's weight.
-
-
-
Method Detail
-
localAddress
public String localAddress()
Get the localAddress property: The gateway's local address.- Returns:
- the localAddress value.
-
network
public String network()
Get the network property: The route's network prefix.- Returns:
- the network value.
-
nextHop
public String nextHop()
Get the nextHop property: The route's next hop.- Returns:
- the nextHop value.
-
sourcePeer
public String sourcePeer()
Get the sourcePeer property: The peer this route was learned from.- Returns:
- the sourcePeer value.
-
origin
public String origin()
Get the origin property: The source this route was learned from.- Returns:
- the origin value.
-
asPath
public String asPath()
Get the asPath property: The route's AS path sequence.- Returns:
- the asPath value.
-
weight
public Integer 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.
-
-