Package com.azure.maps.route.models
Class BaseRouteOptions<T extends BaseRouteOptions<T>>
java.lang.Object
com.azure.maps.route.models.BaseRouteOptions<T>
- Direct Known Subclasses:
RouteDirectionsOptions
,RouteRangeOptions
Base Route Options
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the acceleration efficiency.Returns the auxiliary power.Returns the auxiliary power in liters per hour.Returns the list of route types to avoid.Returns the constant speed energy consumption.Returns the constant speed fuel consumption.Returns the current charge.Returns the current fuel in liters.Returns the deceleration efficiency.Returns the departure time.Returns the downhill efficiency.Returns the fuel energy density.Return the incline level.Returns the max charge.Returns the type of route.Returns the travel mode.Returns the uphill efficiency.Returns the vehicle axle weight.Returns the vehicle engine type.Returns the vehicle height in meters.Returns the vehicle length in meters.Returns the vehicle load type.Returns the vehicle max speed.Returns the vehicle weight.Returns the vehicle width in meters.Returns the windingness.Returns whether this is a commercial vehicle.Returns whether to use traffic data to calculate the route.setAccelerationEfficiency
(Double accelerationEfficiency) Sets the acceleration efficiency.setAuxiliaryPowerInKw
(Double auxiliaryPowerInKw) Sets the auxiliary power.setAuxiliaryPowerInLitersPerHour
(Double auxiliaryPowerInLitersPerHour) Sets the auxiliary power in liters per hour.setAvoid
(List<RouteAvoidType> avoid) Sets the list of route types to avoid.setCommercialVehicle
(Boolean isCommercialVehicle) Sets whether this is a commercial vehicle.setConstantSpeedConsumptionInKwHPerHundredKm
(String constantSpeedConsumptionInKwHPerHundredKm) Sets the constant speed energy consumption.setConstantSpeedConsumptionInLitersPerHundredKm
(String constantSpeedConsumptionInLitersPerHundredKm) Sets the constant speed fuel consumption.setCurrentChargeInKwH
(Double currentChargeInKwH) Sets the current charge.setCurrentFuelInLiters
(Double currentFuelInLiters) Sets the current fuel in liters.setDecelerationEfficiency
(Double decelerationEfficiency) Sets the deceleration efficiency.setDepartAt
(OffsetDateTime departAt) Sets the departure time.setDownhillEfficiency
(Double downhillEfficiency) Sets the downhill efficiency.setFuelEnergyDensityInMegajoulesPerLiter
(Double fuelEnergyDensityInMegajoulesPerLiter) Sets the fuel energy density.setInclineLevel
(InclineLevel inclineLevel) Sets the incline level.setMaxChargeInKwH
(Double maxChargeInKwH) Sets the max charge.setRouteType
(RouteType routeType) Sets the type of route.setTravelMode
(TravelMode travelMode) Sets the travel mode.setUphillEfficiency
(Double uphillEfficiency) Sets the uphill efficiency.setUseTrafficData
(Boolean useTrafficData) Sets whether to use traffic data to calculate the route.setVehicleAxleWeight
(Integer vehicleAxleWeight) Sets the vehicle axle weight.setVehicleEngineType
(VehicleEngineType vehicleEngineType) Sets the vehicle engine type.setVehicleHeight
(Double vehicleHeight) Sets the vehicle height.setVehicleLength
(Double vehicleLength) Sets the vehicle length.setVehicleLoadType
(VehicleLoadType vehicleLoadType) Sets the vehicle load type.setVehicleMaxSpeed
(Integer vehicleMaxSpeed) Sets the vehicle max speed.setVehicleWeight
(Integer vehicleWeight) Sets the vehicle weight.setVehicleWidth
(Double vehicleWidth) Sets the vehicle width.setWindingness
(WindingnessLevel windingness) Sets the windingness.
-
Constructor Details
-
BaseRouteOptions
public BaseRouteOptions()
-
-
Method Details
-
getConstantSpeedConsumptionInLitersPerHundredKm
Returns the constant speed fuel consumption.- Returns:
- the constant speed fuel consumption.
-
getDepartAt
Returns the departure time.- Returns:
- the departure time.
-
getVehicleAxleWeight
Returns the vehicle axle weight.- Returns:
- the vehicle axle weight.
-
getVehicleWidth
Returns the vehicle width in meters.- Returns:
- the vehicle width.
-
getVehicleHeight
Returns the vehicle height in meters.- Returns:
- the vehicle height.
-
getVehicleLength
Returns the vehicle length in meters.- Returns:
- the vehicle length.
-
getVehicleMaxSpeed
Returns the vehicle max speed.- Returns:
- the vehicle max speed.
-
getVehicleWeight
Returns the vehicle weight.- Returns:
- the vehicle weight.
-
isCommercialVehicle
Returns whether this is a commercial vehicle.- Returns:
- whether this is a commercial vehicle.
-
getWindingness
Returns the windingness.- Returns:
WindingnessLevel
-
getInclineLevel
Return the incline level.- Returns:
InclineLevel
-
getTravelMode
Returns the travel mode.- Returns:
TravelMode
-
getAvoidRouteTypes
Returns the list of route types to avoid.- Returns:
- list of
RouteAvoidTypes
-
isGetUseTrafficData
Returns whether to use traffic data to calculate the route.- Returns:
- whether to use traffic data.
-
getRouteType
Returns the type of route.- Returns:
RouteType
.
-
getVehicleLoadType
Returns the vehicle load type.- Returns:
VehicleLoadType
-
getVehicleEngineType
Returns the vehicle engine type.- Returns:
VehicleEngineType
-
getCurrentFuelInLiters
Returns the current fuel in liters.- Returns:
- the current fuel in liters.
-
getAuxiliaryPowerInLitersPerHour
Returns the auxiliary power in liters per hour.- Returns:
- the auxiliary power in liters per hour.
-
getFuelEnergyDensityInMegajoulesPerLiter
Returns the fuel energy density.- Returns:
- the fuel energy density.
-
getAccelerationEfficiency
Returns the acceleration efficiency.- Returns:
- the acceleration efficiency.
-
getDecelerationEfficiency
Returns the deceleration efficiency.- Returns:
- the deceleration efficiency.
-
getUphillEfficiency
Returns the uphill efficiency.- Returns:
- the uphill efficiency.
-
getDownhillEfficiency
Returns the downhill efficiency.- Returns:
- the downhill efficiency.
-
getConstantSpeedConsumptionInKwHPerHundredKm
Returns the constant speed energy consumption.- Returns:
- the constant speed energy consumption.
-
getCurrentChargeInKwH
Returns the current charge.- Returns:
- the current charge.
-
getMaxChargeInKwH
Returns the max charge.- Returns:
- the max charge.
-
getAuxiliaryPowerInKw
Returns the auxiliary power.- Returns:
- the auxiliary power.
-
setDepartAt
Sets the departure time.- Parameters:
departAt
- the departure time.- Returns:
- a reference to this
BaseRouteOptions
-
setVehicleAxleWeight
Sets the vehicle axle weight.- Parameters:
vehicleAxleWeight
- the vehicle axle weight.- Returns:
- a reference to this
BaseRouteOptions
-
setVehicleWidth
Sets the vehicle width.- Parameters:
vehicleWidth
- the vehicle width.- Returns:
- a reference to this
BaseRouteOptions
-
setVehicleHeight
Sets the vehicle height.- Parameters:
vehicleHeight
- the vehicle height.- Returns:
- a reference to this
BaseRouteOptions
-
setVehicleLength
Sets the vehicle length.- Parameters:
vehicleLength
- the vehicle length.- Returns:
- a reference to this
BaseRouteOptions
-
setVehicleMaxSpeed
Sets the vehicle max speed.- Parameters:
vehicleMaxSpeed
- the vehicle max speed.- Returns:
- a reference to this
BaseRouteOptions
-
setVehicleWeight
Sets the vehicle weight.- Parameters:
vehicleWeight
- the vehicle weight.- Returns:
- a reference to this
BaseRouteOptions
-
setCommercialVehicle
Sets whether this is a commercial vehicle.- Parameters:
isCommercialVehicle
- whether this is a commercial vehicle.- Returns:
- a reference to this
BaseRouteOptions
-
setWindingness
Sets the windingness.- Parameters:
windingness
-WindingnessLevel
- Returns:
- a reference to this
BaseRouteOptions
-
setInclineLevel
Sets the incline level.- Parameters:
inclineLevel
-InclineLevel
- Returns:
- a reference to this
BaseRouteOptions
-
setTravelMode
Sets the travel mode.- Parameters:
travelMode
-TravelMode
- Returns:
- a reference to this
BaseRouteOptions
-
setAvoid
Sets the list of route types to avoid.- Parameters:
avoid
- list ofRouteAvoidTypes
- Returns:
- a reference to this
BaseRouteOptions
-
setUseTrafficData
Sets whether to use traffic data to calculate the route.- Parameters:
useTrafficData
- whether to use traffic data to calculate the route.- Returns:
- a reference to this
BaseRouteOptions
-
setRouteType
Sets the type of route.- Parameters:
routeType
-RouteType
- Returns:
- a reference to this
BaseRouteOptions
-
setVehicleLoadType
Sets the vehicle load type.- Parameters:
vehicleLoadType
-VehicleLoadType
- Returns:
- a reference to this
BaseRouteOptions
-
setVehicleEngineType
Sets the vehicle engine type.- Parameters:
vehicleEngineType
-VehicleEngineType
- Returns:
- a reference to this
BaseRouteOptions
-
setConstantSpeedConsumptionInLitersPerHundredKm
public T setConstantSpeedConsumptionInLitersPerHundredKm(String constantSpeedConsumptionInLitersPerHundredKm) Sets the constant speed fuel consumption.- Parameters:
constantSpeedConsumptionInLitersPerHundredKm
- the constant speed fuel consumption.- Returns:
- a reference to this
BaseRouteOptions
-
setCurrentFuelInLiters
Sets the current fuel in liters.- Parameters:
currentFuelInLiters
- the current fuel in liters.- Returns:
- a reference to this
BaseRouteOptions
-
setAuxiliaryPowerInLitersPerHour
Sets the auxiliary power in liters per hour.- Parameters:
auxiliaryPowerInLitersPerHour
- the auxiliary power in liters per hour.- Returns:
- a reference to this
BaseRouteOptions
-
setFuelEnergyDensityInMegajoulesPerLiter
Sets the fuel energy density.- Parameters:
fuelEnergyDensityInMegajoulesPerLiter
- the fuel energy density.- Returns:
- a reference to this
BaseRouteOptions
-
setAccelerationEfficiency
Sets the acceleration efficiency.- Parameters:
accelerationEfficiency
- the acceleration efficiency.- Returns:
- a reference to this
BaseRouteOptions
-
setDecelerationEfficiency
Sets the deceleration efficiency.- Parameters:
decelerationEfficiency
- the deceleration efficiency.- Returns:
- a reference to this
BaseRouteOptions
-
setUphillEfficiency
Sets the uphill efficiency.- Parameters:
uphillEfficiency
- the uphill efficiency.- Returns:
- a reference to this
BaseRouteOptions
-
setDownhillEfficiency
Sets the downhill efficiency.- Parameters:
downhillEfficiency
- the downhill efficiency.- Returns:
- a reference to this
BaseRouteOptions
-
setConstantSpeedConsumptionInKwHPerHundredKm
public T setConstantSpeedConsumptionInKwHPerHundredKm(String constantSpeedConsumptionInKwHPerHundredKm) Sets the constant speed energy consumption.- Parameters:
constantSpeedConsumptionInKwHPerHundredKm
- the constant speed energy consumption.- Returns:
- a reference to this
BaseRouteOptions
-
setCurrentChargeInKwH
Sets the current charge.- Parameters:
currentChargeInKwH
- the current charge.- Returns:
- a reference to this
BaseRouteOptions
-
setMaxChargeInKwH
Sets the max charge.- Parameters:
maxChargeInKwH
- the max charge.- Returns:
- a reference to this
BaseRouteOptions
-
setAuxiliaryPowerInKw
Sets the auxiliary power.- Parameters:
auxiliaryPowerInKw
- the auxiliary power.- Returns:
- a reference to this
BaseRouteOptions
-