VirtualHubRouteV2 Class

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

public class VirtualHubRouteV2

VirtualHubRouteTableV2 route.

Constructor Summary

Constructor Description
VirtualHubRouteV2()

Method Summary

Modifier and Type Method and Description
java.lang.String destinationType()

Get the type of destinations.

java.util.List<java.lang.String> destinations()

Get list of all destinations.

java.lang.String nextHopType()

Get the type of next hops.

java.util.List<java.lang.String> nextHops()

Get nextHops ip address.

VirtualHubRouteV2 withDestinationType(String destinationType)

Set the type of destinations.

VirtualHubRouteV2 withDestinations(List<String> destinations)

Set list of all destinations.

VirtualHubRouteV2 withNextHopType(String nextHopType)

Set the type of next hops.

VirtualHubRouteV2 withNextHops(List<String> nextHops)

Set nextHops ip address.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

VirtualHubRouteV2

public VirtualHubRouteV2()

Method Details

destinationType

public String destinationType()

Get the type of destinations.

Returns:

the destinationType value

destinations

public List destinations()

Get list of all destinations.

Returns:

the destinations value

nextHopType

public String nextHopType()

Get the type of next hops.

Returns:

the nextHopType value

nextHops

public List nextHops()

Get nextHops ip address.

Returns:

the nextHops value

withDestinationType

public VirtualHubRouteV2 withDestinationType(String destinationType)

Set the type of destinations.

Parameters:

destinationType - the destinationType value to set

Returns:

the VirtualHubRouteV2 object itself.

withDestinations

public VirtualHubRouteV2 withDestinations(List destinations)

Set list of all destinations.

Parameters:

destinations - the destinations value to set

Returns:

the VirtualHubRouteV2 object itself.

withNextHopType

public VirtualHubRouteV2 withNextHopType(String nextHopType)

Set the type of next hops.

Parameters:

nextHopType - the nextHopType value to set

Returns:

the VirtualHubRouteV2 object itself.

withNextHops

public VirtualHubRouteV2 withNextHops(List nextHops)

Set nextHops ip address.

Parameters:

nextHops - the nextHops value to set

Returns:

the VirtualHubRouteV2 object itself.

Applies to