public class AlongRouteSearchQueryBuilder extends java.lang.Object implements IAlongRouteSearchQuery
AlongRouteSearchQuery
.Constructor and Description |
---|
AlongRouteSearchQueryBuilder(java.lang.String term,
java.util.List<LatLng> route,
java.lang.Integer maxDetourTime) |
Modifier and Type | Method and Description |
---|---|
AlongRouteSearchQuery |
build()
Creates new instance of
AlongRouteSearchQuery |
static AlongRouteSearchQueryBuilder |
create(java.lang.String term,
java.util.List<LatLng> route,
java.lang.Integer maxDetourTime)
Builder used to create an instance of
AlongRouteSearchQuery , once constructed, the user cannot change the field values |
AlongRouteSearchQueryBuilder |
withGeopoliticalView(java.lang.String geopoliticalView) |
AlongRouteSearchQueryBuilder |
withLimit(java.lang.Integer limit)
The upper limit of the number of results.
|
public AlongRouteSearchQueryBuilder(java.lang.String term, java.util.List<LatLng> route, java.lang.Integer maxDetourTime)
public AlongRouteSearchQueryBuilder withLimit(java.lang.Integer limit)
IAlongRouteSearchQuery
withLimit
in interface IAlongRouteSearchQuery
limit
- upper limit of the number of results.public AlongRouteSearchQueryBuilder withGeopoliticalView(java.lang.String geopoliticalView)
public static AlongRouteSearchQueryBuilder create(java.lang.String term, java.util.List<LatLng> route, java.lang.Integer maxDetourTime)
AlongRouteSearchQuery
, once constructed, the user cannot change the field valuesAlongRouteSearchQuery
to be used for further processingpublic AlongRouteSearchQuery build()
AlongRouteSearchQuery