VirtualHubRouteV2 Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualHubRouteV2
- com.
public final class VirtualHubRouteV2
VirtualHubRouteTableV2 route.
Constructor Summary
Constructor | Description |
---|---|
VirtualHubRouteV2() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
destinationType()
Get the destination |
List<String> |
destinations()
Get the destinations property: List of all destinations. |
String |
nextHopType()
Get the next |
List<String> |
nextHops()
Get the next |
void |
validate()
Validates the instance. |
Virtual |
withDestinationType(String destinationType)
Set the destination |
Virtual |
withDestinations(List<String> destinations)
Set the destinations property: List of all destinations. |
Virtual |
withNextHopType(String nextHopType)
Set the next |
Virtual |
withNextHops(List<String> nextHops)
Set the next |
Methods inherited from java.lang.Object
Constructor Details
VirtualHubRouteV2
public VirtualHubRouteV2()
Creates an instance of VirtualHubRouteV2 class.
Method Details
destinationType
public String destinationType()
Get the destinationType property: The type of destinations.
Returns:
destinations
public List
Get the destinations property: List of all destinations.
Returns:
nextHopType
public String nextHopType()
Get the nextHopType property: The type of next hops.
Returns:
nextHops
public List
Get the nextHops property: NextHops ip address.
Returns:
validate
public void validate()
Validates the instance.
withDestinationType
public VirtualHubRouteV2 withDestinationType(String destinationType)
Set the destinationType property: The type of destinations.
Parameters:
Returns:
withDestinations
public VirtualHubRouteV2 withDestinations(List
Set the destinations property: List of all destinations.
Parameters:
Returns:
withNextHopType
public VirtualHubRouteV2 withNextHopType(String nextHopType)
Set the nextHopType property: The type of next hops.
Parameters:
Returns:
withNextHops
public VirtualHubRouteV2 withNextHops(List
Set the nextHops property: NextHops ip address.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for