Interface RouteVehicleOverviewSummary.Builder

  • Method Details

    • bestCaseDuration

      RouteVehicleOverviewSummary.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.
    • distance

      Distance of the step.

      Parameters:
      distance - Distance of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      RouteVehicleOverviewSummary.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.