Interface WaypointOptimizationTimeBreakdown.Builder

  • Method Details

    • restDuration

      WaypointOptimizationTimeBreakdown.Builder restDuration(Long restDuration)

      Resting phase of the cycle.

      Unit: seconds

      Parameters:
      restDuration - Resting phase of the cycle.

      Unit: seconds

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

      WaypointOptimizationTimeBreakdown.Builder serviceDuration(Long serviceDuration)

      Service time spent at the destination. At an appointment, the service time should be the appointment duration.

      Unit: seconds

      Parameters:
      serviceDuration - Service time spent at the destination. At an appointment, the service time should be the appointment duration.

      Unit: seconds

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

      WaypointOptimizationTimeBreakdown.Builder travelDuration(Long travelDuration)

      Traveling phase of the cycle.

      Unit: seconds

      Parameters:
      travelDuration - Traveling phase of the cycle.

      Unit: seconds

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

      WaypointOptimizationTimeBreakdown.Builder waitDuration(Long waitDuration)

      Waiting phase of the cycle.

      Unit: seconds

      Parameters:
      waitDuration - Waiting phase of the cycle.

      Unit: seconds

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