VirtualHubRouteV2 Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualHubRouteV2
- com.
Implements
public final class VirtualHubRouteV2
implements JsonSerializable<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. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
nextHopType()
Get the next |
List<String> |
nextHops()
Get the next |
Json |
toJson(JsonWriter jsonWriter) |
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:
fromJson
public static VirtualHubRouteV2 fromJson(JsonReader jsonReader)
Reads an instance of VirtualHubRouteV2 from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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