- Enclosing interface:
BusApi
public static interface BusApi.Builder
Builder for constructing
BusApi instances.
-
Method Summary
Builds a configured
BusApi instance.
Sets the API host to use for requests.
-
Method Details
-
host
Sets the API host to use for requests.
If not specified, the default CTA Bus Tracker API host is used.
- Parameters:
host - the API host
- Returns:
- this builder instance
-
build
Builds a configured
BusApi instance.
- Returns:
- a new
BusApi