TransportSpecification.BusBuilder (API Reference)
Package com.here.sdk.transport
Class TransportSpecification.BusBuilder
java.lang.Object
com.here.NativeBase
com.here.sdk.transport.TransportSpecification.BusBuilder
- Enclosing class:
- TransportSpecification
This class constructs a TransportSpecification for a bus.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theTransportSpecificationobject for a bus with the specifications taken from theTransportSpecification.BusBuilderobject.withVehicleSpecification(VehicleSpecification vehicleSpecification) Sets the vehicle specification.
-
Constructor Details
-
BusBuilder
public BusBuilder()Creates a new instance of this class.
-
-
Method Details
-
withVehicleSpecification
@NonNull public TransportSpecification.BusBuilder withVehicleSpecification(@NonNull VehicleSpecification vehicleSpecification) Sets the vehicle specification.
- Parameters:
vehicleSpecification-The vehicle specification.
- Returns:
The
TransportSpecification.BusBuilderobject with the vehicle specification set to the new value.
-
build
Builds the
TransportSpecificationobject for a bus with the specifications taken from theTransportSpecification.BusBuilderobject.- Returns:
The
TransportSpecificationobject created from theTransportSpecification.BusBuilderobject.
-