Partager 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()
abstract String nextHopIpAddress()
abstract RouteNextHopType nextHopType()

Method Details

destinationAddressPrefix

public abstract String destinationAddressPrefix()

Returns:

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

nextHopIpAddress

public abstract String nextHopIpAddress()

Returns:

the IP address of the next hop

nextHopType

public abstract RouteNextHopType nextHopType()

Returns:

the type of the next hop

Applies to