@Generated(value="software.amazon.awssdk:codegen") public final class RouteMatrixEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteMatrixEntry.Builder,RouteMatrixEntry>
The result for the calculated route of one DeparturePosition DestinationPosition pair.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RouteMatrixEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RouteMatrixEntry.Builder |
builder() |
Double |
distance()
The total distance of travel for the route.
|
Double |
durationSeconds()
The expected duration of travel for the route.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
RouteMatrixEntryError |
error()
An error corresponding to the calculation of a route between the
DeparturePosition and
DestinationPosition. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RouteMatrixEntry.Builder> |
serializableBuilderClass() |
RouteMatrixEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double distance()
The total distance of travel for the route.
public final Double durationSeconds()
The expected duration of travel for the route.
public final RouteMatrixEntryError error()
An error corresponding to the calculation of a route between the DeparturePosition and
DestinationPosition.
DeparturePosition and
DestinationPosition.public RouteMatrixEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RouteMatrixEntry.Builder,RouteMatrixEntry>public static RouteMatrixEntry.Builder builder()
public static Class<? extends RouteMatrixEntry.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.