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 entire leg.

      Unit: meters

      Parameters:
      distance - Distance of the entire leg.

      Unit: meters

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

      Duration of the entire leg.

      Unit: seconds

      Parameters:
      duration - Duration of the entire leg.

      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 leg under typical traffic congestion.

      Unit: seconds

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

      Unit: seconds

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