Package com.azure.maps.route.models
Class RouteRangeOptions
java.lang.Object
com.azure.maps.route.models.BaseRouteOptions<RouteRangeOptions>
com.azure.maps.route.models.RouteRangeOptions
Options class for a get route range call.
-
Constructor Summary
ConstructorsConstructorDescriptionRouteRangeOptions
(com.azure.core.models.GeoPosition startingPoint) Builds a newRouteRangeOptions
.RouteRangeOptions
(com.azure.core.models.GeoPosition startingPoint, Duration timeBudgetInSec) Builds a newRouteRangeOptions
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the distance budget in meters.Returns the energy budget in KwH.Returns the fuel budget in liters.com.azure.core.models.GeoPosition
Returns the starting point.Returns the time budget in seconds.setDistanceBudgetInMeters
(Double distanceBudgetInMeters) Sets the distance budget in meters.setEnergyBudgetInKwH
(Double energyBudgetInKwH) Sets the energy budget in KwHsetFuelBudgetInLiters
(Double fuelBudgetInLiters) Sets the fuel budget in liters.setStartingPoint
(com.azure.core.models.GeoPosition startingPoint) Sets the starting point.setTimeBudgetInSec
(Duration timeBudgetInSec) Sets the time budget in seconds.Methods inherited from class com.azure.maps.route.models.BaseRouteOptions
getAccelerationEfficiency, getAuxiliaryPowerInKw, getAuxiliaryPowerInLitersPerHour, getAvoidRouteTypes, getConstantSpeedConsumptionInKwHPerHundredKm, getConstantSpeedConsumptionInLitersPerHundredKm, getCurrentChargeInKwH, getCurrentFuelInLiters, getDecelerationEfficiency, getDepartAt, getDownhillEfficiency, getFuelEnergyDensityInMegajoulesPerLiter, getInclineLevel, getMaxChargeInKwH, getRouteType, getTravelMode, getUphillEfficiency, getVehicleAxleWeight, getVehicleEngineType, getVehicleHeight, getVehicleLength, getVehicleLoadType, getVehicleMaxSpeed, getVehicleWeight, getVehicleWidth, getWindingness, isCommercialVehicle, isGetUseTrafficData, setAccelerationEfficiency, setAuxiliaryPowerInKw, setAuxiliaryPowerInLitersPerHour, setAvoid, setCommercialVehicle, setConstantSpeedConsumptionInKwHPerHundredKm, setConstantSpeedConsumptionInLitersPerHundredKm, setCurrentChargeInKwH, setCurrentFuelInLiters, setDecelerationEfficiency, setDepartAt, setDownhillEfficiency, setFuelEnergyDensityInMegajoulesPerLiter, setInclineLevel, setMaxChargeInKwH, setRouteType, setTravelMode, setUphillEfficiency, setUseTrafficData, setVehicleAxleWeight, setVehicleEngineType, setVehicleHeight, setVehicleLength, setVehicleLoadType, setVehicleMaxSpeed, setVehicleWeight, setVehicleWidth, setWindingness
-
Constructor Details
-
RouteRangeOptions
Builds a newRouteRangeOptions
.- Parameters:
startingPoint
- the starting point of the route as aGeoPosition
timeBudgetInSec
- the time budget of this route.
-
RouteRangeOptions
public RouteRangeOptions(com.azure.core.models.GeoPosition startingPoint) Builds a newRouteRangeOptions
.- Parameters:
startingPoint
- the starting point of the route as aGeoPosition
-
-
Method Details
-
getStartingPoint
public com.azure.core.models.GeoPosition getStartingPoint()Returns the starting point.- Returns:
- the starting point
-
getFuelBudgetInLiters
Returns the fuel budget in liters.- Returns:
- the fuel budget.
-
getEnergyBudgetInKwH
Returns the energy budget in KwH.- Returns:
- the energy budget
-
getTimeBudgetInSec
Returns the time budget in seconds.- Returns:
- time budget in seconds.
-
getDistanceBudgetInMeters
Returns the distance budget in meters.- Returns:
- distance budget.
-
setStartingPoint
Sets the starting point.- Parameters:
startingPoint
- aGeoPosition
representing the starting point of this route.- Returns:
- a reference to this
RouteRangeOptions
-
setFuelBudgetInLiters
Sets the fuel budget in liters.- Parameters:
fuelBudgetInLiters
- the fuel budget.- Returns:
- a reference to this
RouteRangeOptions
-
setEnergyBudgetInKwH
Sets the energy budget in KwH- Parameters:
energyBudgetInKwH
- the energy budget- Returns:
- a reference to this
RouteRangeOptions
-
setTimeBudgetInSec
Sets the time budget in seconds.- Parameters:
timeBudgetInSec
- the time budget- Returns:
- a reference to this
RouteRangeOptions
-
setDistanceBudgetInMeters
Sets the distance budget in meters.- Parameters:
distanceBudgetInMeters
- the distance budget.- Returns:
- a reference to this
RouteRangeOptions
-