Package es.situm.sdk.model.directions
Class Route.Builder
- java.lang.Object
-
- es.situm.sdk.model.directions.Route.Builder
-
- Enclosing class:
- Route
public static class Route.Builder extends java.lang.Object
Helper class to create well formed instances of @{link es.situm. Route} class.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Route
build()
Route.Builder
building(Building building)
Route.Builder
buildingFloors(java.util.Collection<Floor> buildingFloors)
Route.Builder
indications(java.util.List<Indication> indications)
Route.Builder
points(java.util.List<Point> points)
Route.Builder
poiTo(Poi poiTo)
Route.Builder
request(DirectionsRequest request)
Route.Builder
restrictions(java.util.List<Restriction> restrictions)
Route.Builder
segments(java.util.List<RouteSegment> segments)
Route.Builder
steps(java.util.List<RouteStep> steps)
-
-
-
Method Detail
-
request
public Route.Builder request(DirectionsRequest request)
-
steps
public Route.Builder steps(java.util.List<RouteStep> steps)
-
indications
public Route.Builder indications(java.util.List<Indication> indications)
-
points
public Route.Builder points(java.util.List<Point> points)
-
building
public Route.Builder building(Building building)
-
poiTo
public Route.Builder poiTo(Poi poiTo)
-
buildingFloors
public Route.Builder buildingFloors(java.util.Collection<Floor> buildingFloors)
-
restrictions
public Route.Builder restrictions(java.util.List<Restriction> restrictions)
-
segments
public Route.Builder segments(java.util.List<RouteSegment> segments)
-
build
public Route build()
-
-