Interface RouteMatrixEntry.Builder

    • Method Detail

      • distance

        RouteMatrixEntry.Builder distance​(Long distance)

        The total distance of travel for the route.

        Parameters:
        distance - The total distance of travel for the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • duration

        RouteMatrixEntry.Builder duration​(Long duration)

        The expected duration of travel for the route.

        Unit: seconds

        Parameters:
        duration - The expected duration of travel for the route.

        Unit: seconds

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