public static class LocationFetcher.Builder extends Object
Constructor and Description |
---|
LocationFetcher.Builder() |
Modifier and Type | Method and Description |
---|---|
LocationFetcher |
build() |
LocationFetcher.Builder |
setApiKey(String apiKey) |
LocationFetcher.Builder |
setHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient) |
LocationFetcher.Builder |
setNumResults(int numResults) |
LocationFetcher.Builder |
setQuery(String query) |
public LocationFetcher.Builder setApiKey(String apiKey)
public LocationFetcher.Builder setQuery(String query)
public LocationFetcher.Builder setHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient)
public LocationFetcher.Builder setNumResults(int numResults)
public LocationFetcher build()
Copyright © 2015. All rights reserved.