Package com.azure.maps.route.models
Class RouteMatrixOptions
java.lang.Object
com.azure.maps.route.models.RouteMatrixOptions
Represents the options for requesting a route matrix.
-
Constructor Summary
ConstructorsConstructorDescriptionRouteMatrixOptions
(RouteMatrixQuery routeMatrixQuery) Constructs aRouteMatrixOptions
with the requiredRouteMatrixQuery
parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the arrival time.getAvoid()
Returns the list of route types to avoid.Specifies whether to return additional travel times using different types of traffic information (none, historic, live) as well as the default best-estimate travel time.Returns the departure time.Specifies which of the section types is reported in the route response.Returns the incline levelInclineLevel
Returns the query matrix used to search for a route.Returns theRouteType
Returns the travel modeTravelMode
Returns whether to use the traffic dataReturns the vehicle axle weight.Returns the vehicle height.Returns the vehicle length.Returns the vehicle load typeReturns the vehicle max speed.Returns the vehicle weight.Returns the vehicle widthBoolean to indicate whether to execute the request synchronously.Returns the windingness levelsetArriveAt
(OffsetDateTime arriveAt) Sets the arrival time.setAvoid
(List<RouteAvoidType> avoid) Avoid certain types of routes.setComputeTravelTime
(ComputeTravelTime computeTravelTime) Options for computing the travel time.setDepartAt
(OffsetDateTime departAt) Sets the departure time.setFilterSectionType
(SectionType filterSectionType) Filter by certainSectionType
setInclineLevel
(InclineLevel inclineLevel) Sets the incline levelInclineLevel
setRouteMatrixQuery
(RouteMatrixQuery routeMatrixQuery) Sets theRouteMatrixQuery
representing the desired route matrix.setRouteType
(RouteType routeType) Sets the route typeRouteType
setTravelMode
(TravelMode travelMode) Sets the travel modeTravelMode
setUseTrafficData
(Boolean useTrafficData) Use traffic data when calculating the range.setVehicleAxleWeight
(Integer vehicleAxleWeight) Sets the vehicle axle weight.setVehicleHeight
(Double vehicleHeight) Sets the vehicle height.setVehicleLength
(Double vehicleLength) Sets the vehicle length.setVehicleLoadType
(VehicleLoadType vehicleLoadType) Sets the vehicle load typeVehicleLoadType
setVehicleMaxSpeed
(Integer vehicleMaxSpeed) Sets the vehicle max speed.setVehicleWeight
(Integer vehicleWeight) Sets the vehicle weight.setVehicleWidth
(Double vehicleWidth) Sets the vehicle width.setWaitForResults
(Boolean waitForResults) Wait for the results of the callsetWindingness
(WindingnessLevel windingness) Sets the windingness levelWindingness
-
Constructor Details
-
RouteMatrixOptions
Constructs aRouteMatrixOptions
with the requiredRouteMatrixQuery
parameters.- Parameters:
routeMatrixQuery
- theRouteMatrixQuery
-
-
Method Details
-
getRouteMatrixQuery
Returns the query matrix used to search for a route.- Returns:
- the
RouteMatrixQuery
-
getWaitForResults
Boolean to indicate whether to execute the request synchronously.- Returns:
- waitForResults
-
getComputeTravelTime
Specifies whether to return additional travel times using different types of traffic information (none, historic, live) as well as the default best-estimate travel time.- Returns:
- the compute travel time option
-
getFilterSectionType
Specifies which of the section types is reported in the route response.- Returns:
- the
SectionType
-
getArriveAt
Returns the arrival time.- Returns:
- the arrival time.
-
getDepartAt
Returns the departure time.- Returns:
- the departure time.
-
getVehicleAxleWeight
Returns the vehicle axle weight.- Returns:
- the vehicle axle weight.
-
getVehicleLength
Returns the vehicle length.- Returns:
- the vehicle length.
-
getVehicleHeight
Returns the vehicle height.- Returns:
- the vehicle height
-
getVehicleWidth
Returns the vehicle width- Returns:
- the vehicle width
-
getVehicleMaxSpeed
Returns the vehicle max speed.- Returns:
- the vehicle max speed
-
getVehicleWeight
Returns the vehicle weight.- Returns:
- the vehicle weight.
-
getWindingness
Returns the windingness level- Returns:
- the
WindingnessLevel
-
getInclineLevel
Returns the incline levelInclineLevel
- Returns:
- the
InclineLevel
-
getTravelMode
Returns the travel modeTravelMode
- Returns:
- the
TravelMode
-
getAvoid
Returns the list of route types to avoid.- Returns:
- a list of
RouteAvoidType
-
getUseTrafficData
Returns whether to use the traffic data- Returns:
- whether to use the traffic data.
-
getRouteType
Returns theRouteType
- Returns:
- the
RouteType
-
getVehicleLoadType
Returns the vehicle load type- Returns:
- the
VehicleLoadType
-
setRouteMatrixQuery
Sets theRouteMatrixQuery
representing the desired route matrix.- Parameters:
routeMatrixQuery
- theRouteMatrixQuery
- Returns:
- a reference to this
RouteMatrixOptions
-
setWaitForResults
Wait for the results of the call- Parameters:
waitForResults
- wait for the results of the call- Returns:
- a reference to this
RouteMatrixOptions
-
setComputeTravelTime
Options for computing the travel time.- Parameters:
computeTravelTime
- theComputeTravelTime
- Returns:
- a reference to this
RouteMatrixOptions
-
setFilterSectionType
Filter by certainSectionType
- Parameters:
filterSectionType
- the section type- Returns:
- a reference to this
RouteMatrixOptions
-
setArriveAt
Sets the arrival time.- Parameters:
arriveAt
- the arrival time.- Returns:
- a reference to this
RouteMatrixOptions
-
setDepartAt
Sets the departure time.- Parameters:
departAt
- the departure time.- Returns:
- a reference to this
RouteMatrixOptions
-
setVehicleAxleWeight
Sets the vehicle axle weight.- Parameters:
vehicleAxleWeight
- the axle weight.- Returns:
- a reference to this
RouteMatrixOptions
-
setVehicleLength
Sets the vehicle length.- Parameters:
vehicleLength
- the vehicle length.- Returns:
- a reference to this
RouteMatrixOptions
-
setVehicleHeight
Sets the vehicle height.- Parameters:
vehicleHeight
- the vehicle height.- Returns:
- a reference to this
RouteMatrixOptions
-
setVehicleWidth
Sets the vehicle width.- Parameters:
vehicleWidth
- the vehicle width.- Returns:
- a reference to this
RouteMatrixOptions
-
setVehicleMaxSpeed
Sets the vehicle max speed.- Parameters:
vehicleMaxSpeed
- the max speed.- Returns:
- a reference to this
RouteMatrixOptions
-
setVehicleWeight
Sets the vehicle weight.- Parameters:
vehicleWeight
- the vehicle weight.- Returns:
- a reference to this
RouteMatrixOptions
-
setWindingness
Sets the windingness levelWindingness
- Parameters:
windingness
- the windingness level- Returns:
- a reference to this
RouteMatrixOptions
-
setInclineLevel
Sets the incline levelInclineLevel
- Parameters:
inclineLevel
- the incline level.- Returns:
- a reference to this
RouteMatrixOptions
-
setTravelMode
Sets the travel modeTravelMode
- Parameters:
travelMode
- the travel mode.- Returns:
- a reference to this
RouteMatrixOptions
-
setAvoid
Avoid certain types of routes.- Parameters:
avoid
- list of types to avoid.- Returns:
- a reference to this
RouteMatrixOptions
-
setUseTrafficData
Use traffic data when calculating the range.- Parameters:
useTrafficData
- use traffic data.- Returns:
- a reference to this
RouteMatrixOptions
-
setRouteType
Sets the route typeRouteType
- Parameters:
routeType
- the route type.- Returns:
- a reference to this
RouteMatrixOptions
-
setVehicleLoadType
Sets the vehicle load typeVehicleLoadType
- Parameters:
vehicleLoadType
- the vehicle load type.- Returns:
- a reference to this
RouteMatrixOptions
-