public final class VirtualHubRouteV2 extends Object
| Constructor and Description |
|---|
VirtualHubRouteV2() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
destinations()
Get the destinations property: List of all destinations.
|
String |
destinationType()
Get the destinationType property: The type of destinations.
|
List<String> |
nextHops()
Get the nextHops property: NextHops ip address.
|
String |
nextHopType()
Get the nextHopType property: The type of next hops.
|
void |
validate()
Validates the instance.
|
VirtualHubRouteV2 |
withDestinations(List<String> destinations)
Set the destinations property: List of all destinations.
|
VirtualHubRouteV2 |
withDestinationType(String destinationType)
Set the destinationType property: The type of destinations.
|
VirtualHubRouteV2 |
withNextHops(List<String> nextHops)
Set the nextHops property: NextHops ip address.
|
VirtualHubRouteV2 |
withNextHopType(String nextHopType)
Set the nextHopType property: The type of next hops.
|
public String destinationType()
public VirtualHubRouteV2 withDestinationType(String destinationType)
destinationType - the destinationType value to set.public List<String> destinations()
public VirtualHubRouteV2 withDestinations(List<String> destinations)
destinations - the destinations value to set.public String nextHopType()
public VirtualHubRouteV2 withNextHopType(String nextHopType)
nextHopType - the nextHopType value to set.public List<String> nextHops()
public VirtualHubRouteV2 withNextHops(List<String> nextHops)
nextHops - the nextHops value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.