Interface RouteSpanSpeedLimitDetails.Builder

    • Method Detail

      • maxSpeed

        RouteSpanSpeedLimitDetails.Builder maxSpeed​(Double maxSpeed)

        Maximum speed.

        Unit: KilometersPerHour

        Parameters:
        maxSpeed - Maximum speed.

        Unit: KilometersPerHour

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unlimited

        RouteSpanSpeedLimitDetails.Builder unlimited​(Boolean unlimited)

        If the span doesn't have a speed limit like the Autobahn.

        Parameters:
        unlimited - If the span doesn't have a speed limit like the Autobahn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.