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