Partilhar via


Route Interface

Implements

public interface Route
extends HasInnerModel<RouteInner>, ChildResource<RouteTable>

An immutable client-side representation of a route of a route table.

Method Summary

Modifier and Type Method and Description
abstract String destinationAddressPrefix()

Gets the destination address prefix.

abstract String nextHopIpAddress()

Gets the IP address of the next hop.

abstract RouteNextHopType nextHopType()

Gets the type of the next hop.

Method Details

destinationAddressPrefix

public abstract String destinationAddressPrefix()

Gets the destination address prefix.

Returns:

the destination address prefix, expressed using the CIDR notation, to which the route applies

nextHopIpAddress

public abstract String nextHopIpAddress()

Gets the IP address of the next hop.

Returns:

the IP address of the next hop

nextHopType

public abstract RouteNextHopType nextHopType()

Gets the type of the next hop.

Returns:

the type of the next hop

Applies to