public final class VnetRouteProperties extends Object
| Constructor and Description |
|---|
VnetRouteProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
endAddress()
Get the endAddress property: The ending address for this route.
|
RouteType |
routeType()
Get the routeType property: The type of route this is: DEFAULT - By default, every app has routes to the local
address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC -
Static route set on the app only
|
String |
startAddress()
Get the startAddress property: The starting address for this route.
|
void |
validate()
Validates the instance.
|
VnetRouteProperties |
withEndAddress(String endAddress)
Set the endAddress property: The ending address for this route.
|
VnetRouteProperties |
withRouteType(RouteType routeType)
Set the routeType property: The type of route this is: DEFAULT - By default, every app has routes to the local
address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC -
Static route set on the app only
|
VnetRouteProperties |
withStartAddress(String startAddress)
Set the startAddress property: The starting address for this route.
|
public String startAddress()
public VnetRouteProperties withStartAddress(String startAddress)
startAddress - the startAddress value to set.public String endAddress()
public VnetRouteProperties withEndAddress(String endAddress)
endAddress - the endAddress value to set.public RouteType routeType()
These values will be used for syncing an app's routes with those from a Virtual Network.
public VnetRouteProperties withRouteType(RouteType routeType)
These values will be used for syncing an app's routes with those from a Virtual Network.
routeType - the routeType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.