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