Interface CalculateRouteMatrixSummary.Builder

    • Method Detail

      • dataSource

        CalculateRouteMatrixSummary.Builder dataSource​(String dataSource)

        The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:

        • Esri

        • Grab

        • Here

        For more information about data providers, see Amazon Location Service data providers.

        Parameters:
        dataSource - The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:

        • Esri

        • Grab

        • Here

        For more information about data providers, see Amazon Location Service data providers.

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

        CalculateRouteMatrixSummary.Builder distanceUnit​(String distanceUnit)

        The unit of measurement for route distances.

        Parameters:
        distanceUnit - The unit of measurement for route distances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DistanceUnit, DistanceUnit
      • errorCount

        CalculateRouteMatrixSummary.Builder errorCount​(Integer errorCount)

        The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.

        Parameters:
        errorCount - The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeCount

        CalculateRouteMatrixSummary.Builder routeCount​(Integer routeCount)

        The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions.

        Parameters:
        routeCount - The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.