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