Interface RouteVehicleTravelOnlySummary.Builder

    • Method Detail

      • bestCaseDuration

        RouteVehicleTravelOnlySummary.Builder bestCaseDuration​(Long bestCaseDuration)

        Total duration in free flowing traffic, which is the best case or shortest duration possible to cover the leg.

        Unit: seconds

        Parameters:
        bestCaseDuration - Total duration in free flowing traffic, which is the best case or shortest duration possible to cover the leg.

        Unit: seconds

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

        RouteVehicleTravelOnlySummary.Builder duration​(Long duration)

        Duration of the step.

        Unit: seconds

        Parameters:
        duration - Duration of the step.

        Unit: seconds

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

        RouteVehicleTravelOnlySummary.Builder typicalDuration​(Long typicalDuration)

        Duration of the computed span under typical traffic congestion.

        Unit: seconds

        Parameters:
        typicalDuration - Duration of the computed span under typical traffic congestion.

        Unit: seconds

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