| Package | Description |
|---|---|
| com.amazonaws.services.location.model |
| Modifier and Type | Method and Description |
|---|---|
Leg |
Leg.clone() |
Leg |
Leg.withDistance(Double distance)
The distance between the leg's
StartPosition and EndPosition along a calculated route. |
Leg |
Leg.withDurationSeconds(Double durationSeconds)
The estimated travel time between the leg's
StartPosition and EndPosition. |
Leg |
Leg.withEndPosition(Collection<Double> endPosition)
The terminating position of the leg.
|
Leg |
Leg.withEndPosition(Double... endPosition)
The terminating position of the leg.
|
Leg |
Leg.withGeometry(LegGeometry geometry)
Contains the calculated route's path as a linestring geometry.
|
Leg |
Leg.withStartPosition(Collection<Double> startPosition)
The starting position of the leg.
|
Leg |
Leg.withStartPosition(Double... startPosition)
The starting position of the leg.
|
Leg |
Leg.withSteps(Collection<Step> steps)
Contains a list of steps, which represent subsections of a leg.
|
Leg |
Leg.withSteps(Step... steps)
Contains a list of steps, which represent subsections of a leg.
|
| Modifier and Type | Method and Description |
|---|---|
List<Leg> |
CalculateRouteResult.getLegs()
Contains details about each path between a pair of positions included along a route such as:
StartPosition, EndPosition, Distance, DurationSeconds,
Geometry, and Steps. |
| Modifier and Type | Method and Description |
|---|---|
CalculateRouteResult |
CalculateRouteResult.withLegs(Leg... legs)
Contains details about each path between a pair of positions included along a route such as:
StartPosition, EndPosition, Distance, DurationSeconds,
Geometry, and Steps. |
| Modifier and Type | Method and Description |
|---|---|
void |
CalculateRouteResult.setLegs(Collection<Leg> legs)
Contains details about each path between a pair of positions included along a route such as:
StartPosition, EndPosition, Distance, DurationSeconds,
Geometry, and Steps. |
CalculateRouteResult |
CalculateRouteResult.withLegs(Collection<Leg> legs)
Contains details about each path between a pair of positions included along a route such as:
StartPosition, EndPosition, Distance, DurationSeconds,
Geometry, and Steps. |
Copyright © 2024. All rights reserved.