Interface CalculateRouteMatrixSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CalculateRouteMatrixSummary.Builder,CalculateRouteMatrixSummary>, SdkBuilder<CalculateRouteMatrixSummary.Builder,CalculateRouteMatrixSummary>, SdkPojo
Enclosing class:
CalculateRouteMatrixSummary

public static interface CalculateRouteMatrixSummary.Builder extends SdkPojo, CopyableBuilder<CalculateRouteMatrixSummary.Builder,CalculateRouteMatrixSummary>
  • Method Details

    • 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

      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:
    • 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

      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.