VirtualHubRoute Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualHubRoute
- com.
Implements
public final class VirtualHubRoute
implements JsonSerializable<VirtualHubRoute>
VirtualHub route.
Constructor Summary
Constructor | Description |
---|---|
VirtualHubRoute() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
addressPrefixes()
Get the address |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
nextHopIpAddress()
Get the next |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withAddressPrefixes(List<String> addressPrefixes)
Set the address |
Virtual |
withNextHopIpAddress(String nextHopIpAddress)
Set the next |
Methods inherited from java.lang.Object
Constructor Details
VirtualHubRoute
public VirtualHubRoute()
Creates an instance of VirtualHubRoute class.
Method Details
addressPrefixes
public List
Get the addressPrefixes property: List of all addressPrefixes.
Returns:
fromJson
public static VirtualHubRoute fromJson(JsonReader jsonReader)
Reads an instance of VirtualHubRoute from the JsonReader.
Parameters:
Returns:
Throws:
nextHopIpAddress
public String nextHopIpAddress()
Get the nextHopIpAddress property: NextHop ip address.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAddressPrefixes
public VirtualHubRoute withAddressPrefixes(List
Set the addressPrefixes property: List of all addressPrefixes.
Parameters:
Returns:
withNextHopIpAddress
public VirtualHubRoute withNextHopIpAddress(String nextHopIpAddress)
Set the nextHopIpAddress property: NextHop ip address.
Parameters:
Returns:
Applies to
Azure SDK for Java