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 |
withBrandSet(java.lang.String brandSet)
A comma-separated list of brand names which could be used to restrict the result to Points Of Interest of specific brands.
|
AlongRouteSearchQueryBuilder |
withEVConnectorSetFilter(java.lang.String EVConnectorSetFilter)
A comma-separated list of connector types which could be used to restrict the result to Points Of Interest
of type Electric Vehicle Station, supporting specific connector types.
|
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)
IAlongRouteSearchQuerywithLimit in interface IAlongRouteSearchQuerylimit - The upper limit of the number of results.public AlongRouteSearchQueryBuilder withGeopoliticalView(java.lang.String geopoliticalView)
public AlongRouteSearchQueryBuilder withEVConnectorSetFilter(java.lang.String EVConnectorSetFilter)
IAlongRouteSearchQuerywithEVConnectorSetFilter in interface IAlongRouteSearchQueryEVConnectorSetFilter - A comma-separated list of connector types.public AlongRouteSearchQueryBuilder withBrandSet(java.lang.String brandSet)
IAlongRouteSearchQuerywithBrandSet in interface IAlongRouteSearchQuerybrandSet - A comma-separated list of brand names.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