Interface CalculateRouteMatrixSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CalculateRouteMatrixSummary.Builder,
,CalculateRouteMatrixSummary> SdkBuilder<CalculateRouteMatrixSummary.Builder,
,CalculateRouteMatrixSummary> SdkPojo
- Enclosing class:
CalculateRouteMatrixSummary
-
Method Summary
Modifier and TypeMethodDescriptiondataSource
(String dataSource) The data provider of traffic and road network data used to calculate the routes.distanceUnit
(String distanceUnit) The unit of measurement for route distances.distanceUnit
(DistanceUnit distanceUnit) The unit of measurement for route distances.errorCount
(Integer errorCount) The count of error results in the route matrix.routeCount
(Integer routeCount) The count of cells in the route matrix.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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 ofDestinationPositions
.- Parameters:
routeCount
- The count of cells in the route matrix. Equal to the number ofDeparturePositions
multiplied by the number ofDestinationPositions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-