Class VirtualHubRoute
java.lang.Object
com.azure.resourcemanager.network.models.VirtualHubRoute
VirtualHub route.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the addressPrefixes property: List of all addressPrefixes.Get the nextHopIpAddress property: NextHop ip address.voidvalidate()Validates the instance.withAddressPrefixes(List<String> addressPrefixes) Set the addressPrefixes property: List of all addressPrefixes.withNextHopIpAddress(String nextHopIpAddress) Set the nextHopIpAddress property: NextHop ip address.
-
Constructor Details
-
VirtualHubRoute
public VirtualHubRoute()Creates an instance of VirtualHubRoute class.
-
-
Method Details
-
addressPrefixes
Get the addressPrefixes property: List of all addressPrefixes.- Returns:
- the addressPrefixes value.
-
withAddressPrefixes
Set the addressPrefixes property: List of all addressPrefixes.- Parameters:
addressPrefixes- the addressPrefixes value to set.- Returns:
- the VirtualHubRoute object itself.
-
nextHopIpAddress
Get the nextHopIpAddress property: NextHop ip address.- Returns:
- the nextHopIpAddress value.
-
withNextHopIpAddress
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.
-