-
- All Implemented Interfaces:
public final class ChargingStationFindingRequest.Builder
-
-
Constructor Summary
Constructors Constructor Description ChargingStationFindingRequest.Builder(Location position)
-
Method Summary
Modifier and Type Method Description final ChargingStationFindingRequest.Builder
setCurrentBatteryLevel(Long currentBatteryLevel)
Set current energy level final ChargingStationFindingRequest.Builder
setEvConnectTypes(ArrayList<Integer> evConnectTypes)
Set the connector types for priority search final ChargingStationFindingRequest.Builder
setLimit(Integer limit)
Set how many chargers should be returned when finding the charging stations,the default value is 3 final ChargingStationFindingRequest.Builder
setPreferredChargerBrandId(ArrayList<String> preferredChargerBrandId)
Set the charger brands preferred to be used for charging. final ChargingStationFindingRequest.Builder
setChargingStationBlocklist(ArrayList<String> chargingStationBlocklist)
Set charger stations which should be neglected final ChargingStationFindingRequest.Builder
setChargerStrategyPreference(Integer chargerStrategyPreference)
Set the charging strategy preferred to be used to search charging station. final ChargingStationFindingRequest
build()
-
-
Constructor Detail
-
ChargingStationFindingRequest.Builder
ChargingStationFindingRequest.Builder(Location position)
-
-
Method Detail
-
setCurrentBatteryLevel
final ChargingStationFindingRequest.Builder setCurrentBatteryLevel(Long currentBatteryLevel)
Set current energy level
- Parameters:
currentBatteryLevel
- ,current battery level, default value is 100
-
setEvConnectTypes
final ChargingStationFindingRequest.Builder setEvConnectTypes(ArrayList<Integer> evConnectTypes)
Set the connector types for priority search
-
setLimit
final ChargingStationFindingRequest.Builder setLimit(Integer limit)
Set how many chargers should be returned when finding the charging stations,the default value is 3
-
setPreferredChargerBrandId
final ChargingStationFindingRequest.Builder setPreferredChargerBrandId(ArrayList<String> preferredChargerBrandId)
Set the charger brands preferred to be used for charging.
-
setChargingStationBlocklist
final ChargingStationFindingRequest.Builder setChargingStationBlocklist(ArrayList<String> chargingStationBlocklist)
Set charger stations which should be neglected
-
setChargerStrategyPreference
final ChargingStationFindingRequest.Builder setChargerStrategyPreference(Integer chargerStrategyPreference)
Set the charging strategy preferred to be used to search charging station.
-
build
final ChargingStationFindingRequest build()
-
-
-
-