Interface WaypointOptimizationOptimizedWaypoint.Builder

  • Method Details

    • arrivalTime

      Estimated time of arrival at the destination.

      Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

      Examples:

      2020-04-22T17:57:24Z

      2020-04-22T17:57:24+02:00

      Parameters:
      arrivalTime - Estimated time of arrival at the destination.

      Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

      Examples:

      2020-04-22T17:57:24Z

      2020-04-22T17:57:24+02:00

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

      Index of the cluster the waypoint is associated with. The index is included in the response only if clustering was performed while processing the request.

      Parameters:
      clusterIndex - Index of the cluster the waypoint is associated with. The index is included in the response only if clustering was performed while processing the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • departureTime

      Estimated time of departure from thr origin.

      Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

      Examples:

      2020-04-22T17:57:24Z

      2020-04-22T17:57:24+02:00

      Parameters:
      departureTime - Estimated time of departure from thr origin.

      Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

      Examples:

      2020-04-22T17:57:24Z

      2020-04-22T17:57:24+02:00

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

      The waypoint Id.

      Parameters:
      id - The waypoint Id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      Position defined as [longitude, latitude].

      Parameters:
      position - Position defined as [longitude, latitude].
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      Position defined as [longitude, latitude].

      Parameters:
      position - Position defined as [longitude, latitude].
      Returns:
      Returns a reference to this object so that method calls can be chained together.