Interface CalculateRoutesResponse.Builder

    • Method Detail

      • legGeometryFormat

        CalculateRoutesResponse.Builder legGeometryFormat​(String legGeometryFormat)

        Specifies the format of the geometry returned for each leg of the route.

        Parameters:
        legGeometryFormat - Specifies the format of the geometry returned for each leg of the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GeometryFormat, GeometryFormat
      • legGeometryFormat

        CalculateRoutesResponse.Builder legGeometryFormat​(GeometryFormat legGeometryFormat)

        Specifies the format of the geometry returned for each leg of the route.

        Parameters:
        legGeometryFormat - Specifies the format of the geometry returned for each leg of the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GeometryFormat, GeometryFormat
      • notices

        CalculateRoutesResponse.Builder notices​(Collection<RouteResponseNotice> notices)

        Notices are additional information returned that indicate issues that occurred during route calculation.

        Parameters:
        notices - Notices are additional information returned that indicate issues that occurred during route calculation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notices

        CalculateRoutesResponse.Builder notices​(RouteResponseNotice... notices)

        Notices are additional information returned that indicate issues that occurred during route calculation.

        Parameters:
        notices - Notices are additional information returned that indicate issues that occurred during route calculation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pricingBucket

        CalculateRoutesResponse.Builder pricingBucket​(String pricingBucket)

        The pricing bucket for which the query is charged at.

        Parameters:
        pricingBucket - The pricing bucket for which the query is charged at.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routes

        CalculateRoutesResponse.Builder routes​(Collection<Route> routes)

        The path from the origin to the destination.

        Parameters:
        routes - The path from the origin to the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routes

        CalculateRoutesResponse.Builder routes​(Route... routes)

        The path from the origin to the destination.

        Parameters:
        routes - The path from the origin to the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.