Interface LegGeometry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LegGeometry.Builder,LegGeometry>,SdkBuilder<LegGeometry.Builder,LegGeometry>,SdkPojo
- Enclosing class:
- LegGeometry
public static interface LegGeometry.Builder extends SdkPojo, CopyableBuilder<LegGeometry.Builder,LegGeometry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LegGeometry.BuilderlineString(Collection<? extends Collection<Double>> lineString)An ordered list of positions used to plot a route on a map.LegGeometry.BuilderlineString(Collection<Double>... lineString)An ordered list of positions used to plot a route on a map.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
lineString
LegGeometry.Builder lineString(Collection<? extends Collection<Double>> lineString)
An ordered list of positions used to plot a route on a map.
The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg.
-
For example,
[[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]
- Parameters:
lineString- An ordered list of positions used to plot a route on a map.The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg.
-
For example,
[[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
lineString
LegGeometry.Builder lineString(Collection<Double>... lineString)
An ordered list of positions used to plot a route on a map.
The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg.
-
For example,
[[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]
- Parameters:
lineString- An ordered list of positions used to plot a route on a map.The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg.
-
For example,
[[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-