/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.geo.model; import java.io.Serializable; /** *
* Returns the result of the route matrix calculation. *
*/ public class CalculateRouteMatrixResult implements Serializable { /** *
* 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
.
*
* 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
.
*
* The list of destination positions for the route matrix used for
* calculation of the RouteMatrix
.
*
* Contains information about the route matrix, DataSource
,
* DistanceUnit
, RouteCount
and
* ErrorCount
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param 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
.
*
* 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
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param 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
.
*
* 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
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param 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
.
*
* The list of destination positions for the route matrix used for
* calculation of the RouteMatrix
.
*
* The list of destination positions for the route matrix used for
* calculation of the RouteMatrix
.
*
* The list of destination positions for the route matrix used for
* calculation of the RouteMatrix
.
*
* The list of destination positions for the route matrix used
* for calculation of the RouteMatrix
.
*
* The list of destination positions for the route matrix used for
* calculation of the RouteMatrix
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param snappedDestinationPositions
* The list of destination positions for the route matrix used
* for calculation of the RouteMatrix
.
*
* The list of destination positions for the route matrix used for
* calculation of the RouteMatrix
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param snappedDestinationPositions
* The list of destination positions for the route matrix used
* for calculation of the RouteMatrix
.
*
* Contains information about the route matrix, DataSource
,
* DistanceUnit
, RouteCount
and
* ErrorCount
.
*
* Contains information about the route matrix,
* DataSource
, DistanceUnit
,
* RouteCount
and ErrorCount
.
*
* Contains information about the route matrix, DataSource
,
* DistanceUnit
, RouteCount
and
* ErrorCount
.
*
* Contains information about the route matrix,
* DataSource
, DistanceUnit
,
* RouteCount
and ErrorCount
.
*
* Contains information about the route matrix, DataSource
,
* DistanceUnit
, RouteCount
and
* ErrorCount
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param summary
* Contains information about the route matrix,
* DataSource
, DistanceUnit
,
* RouteCount
and ErrorCount
.
*