public static interface CalculateRouteMatrixResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<CalculateRouteMatrixResponse.Builder,CalculateRouteMatrixResponse>
| Modifier and Type | Method and Description |
|---|---|
CalculateRouteMatrixResponse.Builder |
routeMatrix(Collection<? extends Collection<RouteMatrixEntry>> routeMatrix)
The calculated route matrix containing the results for all pairs of
DeparturePositions to
DestinationPositions. |
CalculateRouteMatrixResponse.Builder |
routeMatrix(Collection<RouteMatrixEntry>... routeMatrix)
The calculated route matrix containing the results for all pairs of
DeparturePositions to
DestinationPositions. |
CalculateRouteMatrixResponse.Builder |
snappedDeparturePositions(Collection<? extends Collection<Double>> snappedDeparturePositions)
For routes calculated using an Esri route calculator resource, departure positions are snapped to the closest
road.
|
CalculateRouteMatrixResponse.Builder |
snappedDeparturePositions(Collection<Double>... snappedDeparturePositions)
For routes calculated using an Esri route calculator resource, departure positions are snapped to the closest
road.
|
CalculateRouteMatrixResponse.Builder |
snappedDestinationPositions(Collection<? extends Collection<Double>> snappedDestinationPositions)
The list of destination positions for the route matrix used for calculation of the
RouteMatrix. |
CalculateRouteMatrixResponse.Builder |
snappedDestinationPositions(Collection<Double>... snappedDestinationPositions)
The list of destination positions for the route matrix used for calculation of the
RouteMatrix. |
CalculateRouteMatrixResponse.Builder |
summary(CalculateRouteMatrixSummary summary)
Contains information about the route matrix,
DataSource, DistanceUnit,
RouteCount and ErrorCount. |
default CalculateRouteMatrixResponse.Builder |
summary(Consumer<CalculateRouteMatrixSummary.Builder> summary)
Contains information about the route matrix,
DataSource, DistanceUnit,
RouteCount and ErrorCount. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCalculateRouteMatrixResponse.Builder routeMatrix(Collection<? extends Collection<RouteMatrixEntry>> routeMatrix)
The calculated route matrix containing the results for all pairs of DeparturePositions to
DestinationPositions. Each row corresponds to one entry in DeparturePositions. Each
entry in the row corresponds to the route from that entry in DeparturePositions to an entry in
DestinationPositions.
routeMatrix - The calculated route matrix containing the results for all pairs of DeparturePositions to
DestinationPositions. Each row corresponds to one entry in
DeparturePositions. Each entry in the row corresponds to the route from that entry in
DeparturePositions to an entry in DestinationPositions.CalculateRouteMatrixResponse.Builder routeMatrix(Collection<RouteMatrixEntry>... routeMatrix)
The calculated route matrix containing the results for all pairs of DeparturePositions to
DestinationPositions. Each row corresponds to one entry in DeparturePositions. Each
entry in the row corresponds to the route from that entry in DeparturePositions to an entry in
DestinationPositions.
routeMatrix - The calculated route matrix containing the results for all pairs of DeparturePositions to
DestinationPositions. Each row corresponds to one entry in
DeparturePositions. Each entry in the row corresponds to the route from that entry in
DeparturePositions to an entry in DestinationPositions.CalculateRouteMatrixResponse.Builder snappedDeparturePositions(Collection<? extends Collection<Double>> snappedDeparturePositions)
For routes calculated using an Esri route calculator resource, departure positions are snapped to the closest
road. For Esri route calculator resources, this returns the list of departure/origin positions used for
calculation of the RouteMatrix.
snappedDeparturePositions - For routes calculated using an Esri route calculator resource, departure positions are snapped to the
closest road. For Esri route calculator resources, this returns the list of departure/origin positions
used for calculation of the RouteMatrix.CalculateRouteMatrixResponse.Builder snappedDeparturePositions(Collection<Double>... snappedDeparturePositions)
For routes calculated using an Esri route calculator resource, departure positions are snapped to the closest
road. For Esri route calculator resources, this returns the list of departure/origin positions used for
calculation of the RouteMatrix.
snappedDeparturePositions - For routes calculated using an Esri route calculator resource, departure positions are snapped to the
closest road. For Esri route calculator resources, this returns the list of departure/origin positions
used for calculation of the RouteMatrix.CalculateRouteMatrixResponse.Builder snappedDestinationPositions(Collection<? extends Collection<Double>> snappedDestinationPositions)
The list of destination positions for the route matrix used for calculation of the RouteMatrix.
snappedDestinationPositions - The list of destination positions for the route matrix used for calculation of the
RouteMatrix.CalculateRouteMatrixResponse.Builder snappedDestinationPositions(Collection<Double>... snappedDestinationPositions)
The list of destination positions for the route matrix used for calculation of the RouteMatrix.
snappedDestinationPositions - The list of destination positions for the route matrix used for calculation of the
RouteMatrix.CalculateRouteMatrixResponse.Builder summary(CalculateRouteMatrixSummary summary)
Contains information about the route matrix, DataSource, DistanceUnit,
RouteCount and ErrorCount.
summary - Contains information about the route matrix, DataSource, DistanceUnit,
RouteCount and ErrorCount.default CalculateRouteMatrixResponse.Builder summary(Consumer<CalculateRouteMatrixSummary.Builder> summary)
Contains information about the route matrix, DataSource, DistanceUnit,
RouteCount and ErrorCount.
CalculateRouteMatrixSummary.Builder
avoiding the need to create one manually via CalculateRouteMatrixSummary.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to summary(CalculateRouteMatrixSummary).
summary - a consumer that will call methods on CalculateRouteMatrixSummary.Buildersummary(CalculateRouteMatrixSummary)Copyright © 2023. All rights reserved.