@Generated(value="software.amazon.awssdk:codegen") public final class CalculateRouteMatrixSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CalculateRouteMatrixSummary.Builder,CalculateRouteMatrixSummary>
A summary of the calculated route matrix.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CalculateRouteMatrixSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CalculateRouteMatrixSummary.Builder |
builder() |
String |
dataSource()
The data provider of traffic and road network data used to calculate the routes.
|
DistanceUnit |
distanceUnit()
The unit of measurement for route distances.
|
String |
distanceUnitAsString()
The unit of measurement for route distances.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
errorCount()
The count of error results in the route matrix.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
routeCount()
The count of cells in the route matrix.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CalculateRouteMatrixSummary.Builder> |
serializableBuilderClass() |
CalculateRouteMatrixSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
Esri
Grab
Here
For more information about data providers, see Amazon Location Service data providers.
public final DistanceUnit distanceUnit()
The unit of measurement for route distances.
If the service returns an enum value that is not available in the current SDK version, distanceUnit will
return DistanceUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
distanceUnitAsString().
DistanceUnitpublic final String distanceUnitAsString()
The unit of measurement for route distances.
If the service returns an enum value that is not available in the current SDK version, distanceUnit will
return DistanceUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
distanceUnitAsString().
DistanceUnitpublic final Integer errorCount()
The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.
public final Integer routeCount()
The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the
number of DestinationPositions.
DeparturePositions multiplied
by the number of DestinationPositions.public CalculateRouteMatrixSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CalculateRouteMatrixSummary.Builder,CalculateRouteMatrixSummary>public static CalculateRouteMatrixSummary.Builder builder()
public static Class<? extends CalculateRouteMatrixSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.