Class VirtualHubRoute
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VirtualHubRoute
-
public final class VirtualHubRoute extends Object
VirtualHub route.
-
-
Constructor Summary
Constructors Constructor Description VirtualHubRoute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>addressPrefixes()Get the addressPrefixes property: List of all addressPrefixes.StringnextHopIpAddress()Get the nextHopIpAddress property: NextHop ip address.voidvalidate()Validates the instance.VirtualHubRoutewithAddressPrefixes(List<String> addressPrefixes)Set the addressPrefixes property: List of all addressPrefixes.VirtualHubRoutewithNextHopIpAddress(String nextHopIpAddress)Set the nextHopIpAddress property: NextHop ip address.
-
-
-
Method Detail
-
addressPrefixes
public List<String> addressPrefixes()
Get the addressPrefixes property: List of all addressPrefixes.- Returns:
- the addressPrefixes value.
-
withAddressPrefixes
public VirtualHubRoute withAddressPrefixes(List<String> addressPrefixes)
Set the addressPrefixes property: List of all addressPrefixes.- Parameters:
addressPrefixes- the addressPrefixes value to set.- Returns:
- the VirtualHubRoute object itself.
-
nextHopIpAddress
public String nextHopIpAddress()
Get the nextHopIpAddress property: NextHop ip address.- Returns:
- the nextHopIpAddress value.
-
withNextHopIpAddress
public VirtualHubRoute withNextHopIpAddress(String nextHopIpAddress)
Set the nextHopIpAddress property: NextHop ip address.- Parameters:
nextHopIpAddress- the nextHopIpAddress value to set.- Returns:
- the VirtualHubRoute object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-