Package com.here.sdk.venue.routing
Class VenueTransportSpecification.CarBuilder
java.lang.Object
com.here.NativeBase
com.here.sdk.venue.routing.VenueTransportSpecification.CarBuilder
- Enclosing class:
- VenueTransportSpecification
This class constructs a VenueTransportSpecification for a car.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theVenueTransportSpecificationobject for a car with the specifications taken from theVenueTransportSpecification.CarBuilderobject.withCarSpecification(VenueCarSpecification carSpecification) Sets the car specification.
-
Constructor Details
-
CarBuilder
public CarBuilder()Creates a new instance of this class.
-
-
Method Details
-
withCarSpecification
@NonNull public VenueTransportSpecification.CarBuilder withCarSpecification(@NonNull VenueCarSpecification carSpecification) Sets the car specification.
- Parameters:
carSpecification-The car specification.
- Returns:
The
VenueTransportSpecification.CarBuilderobject with the car specification set to the new value.
-
build
Builds the
VenueTransportSpecificationobject for a car with the specifications taken from theVenueTransportSpecification.CarBuilderobject.- Returns:
The
VenueTransportSpecificationobject created from theVenueTransportSpecification.CarBuilderobject.
-