Class VirtualHubRouteV2

java.lang.Object
com.microsoft.azure.management.network.VirtualHubRouteV2

public class VirtualHubRouteV2 extends Object
VirtualHubRouteTableV2 route.
  • Constructor Details

    • VirtualHubRouteV2

      public VirtualHubRouteV2()
  • Method Details

    • destinationType

      public String destinationType()
      Get the type of destinations.
      Returns:
      the destinationType value
    • withDestinationType

      public VirtualHubRouteV2 withDestinationType(String destinationType)
      Set the type of destinations.
      Parameters:
      destinationType - the destinationType value to set
      Returns:
      the VirtualHubRouteV2 object itself.
    • destinations

      public List<String> destinations()
      Get list of all destinations.
      Returns:
      the destinations value
    • withDestinations

      public VirtualHubRouteV2 withDestinations(List<String> destinations)
      Set list of all destinations.
      Parameters:
      destinations - the destinations value to set
      Returns:
      the VirtualHubRouteV2 object itself.
    • nextHopType

      public String nextHopType()
      Get the type of next hops.
      Returns:
      the nextHopType value
    • withNextHopType

      public VirtualHubRouteV2 withNextHopType(String nextHopType)
      Set the type of next hops.
      Parameters:
      nextHopType - the nextHopType value to set
      Returns:
      the VirtualHubRouteV2 object itself.
    • nextHops

      public List<String> nextHops()
      Get nextHops ip address.
      Returns:
      the nextHops value
    • withNextHops

      public VirtualHubRouteV2 withNextHops(List<String> nextHops)
      Set nextHops ip address.
      Parameters:
      nextHops - the nextHops value to set
      Returns:
      the VirtualHubRouteV2 object itself.