public class VirtualHubRouteV2 extends Object
| Constructor and Description |
|---|
VirtualHubRouteV2() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
destinations()
Get list of all destinations.
|
String |
destinationType()
Get the type of destinations.
|
List<String> |
nextHops()
Get nextHops ip address.
|
String |
nextHopType()
Get the type of next hops.
|
VirtualHubRouteV2 |
withDestinations(List<String> destinations)
Set list of all destinations.
|
VirtualHubRouteV2 |
withDestinationType(String destinationType)
Set the type of destinations.
|
VirtualHubRouteV2 |
withNextHops(List<String> nextHops)
Set nextHops ip address.
|
VirtualHubRouteV2 |
withNextHopType(String nextHopType)
Set the type of next hops.
|
public String destinationType()
public VirtualHubRouteV2 withDestinationType(String destinationType)
destinationType - the destinationType value to setpublic List<String> destinations()
public VirtualHubRouteV2 withDestinations(List<String> destinations)
destinations - the destinations value to setpublic String nextHopType()
public VirtualHubRouteV2 withNextHopType(String nextHopType)
nextHopType - the nextHopType value to setpublic VirtualHubRouteV2 withNextHops(List<String> nextHops)
nextHops - the nextHops value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/