TransportSpecification.TruckBuilder (API Reference)
Package com.here.sdk.transport
Class TransportSpecification.TruckBuilder
java.lang.Object
com.here.NativeBase
com.here.sdk.transport.TransportSpecification.TruckBuilder
- Enclosing class:
- TransportSpecification
This class constructs a TransportSpecification for a truck.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theTransportSpecificationobject for a truck with the specifications taken from theTransportSpecification.TruckBuilderobject.withVehicleSpecification(VehicleSpecification vehicleSpecification) Sets the vehicle specification.
-
Constructor Details
-
TruckBuilder
public TruckBuilder()Creates a new instance of this class.
-
-
Method Details
-
withVehicleSpecification
@NonNull public TransportSpecification.TruckBuilder 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 truck with the specifications taken from theTransportSpecification.TruckBuilderobject.- Returns:
The
TransportSpecificationobject created from theTransportSpecification.TruckBuilderobject.
-