Interface RouteLegGeometry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteLegGeometry.Builder,RouteLegGeometry>,SdkBuilder<RouteLegGeometry.Builder,RouteLegGeometry>,SdkPojo
- Enclosing class:
- RouteLegGeometry
public static interface RouteLegGeometry.Builder extends SdkPojo, CopyableBuilder<RouteLegGeometry.Builder,RouteLegGeometry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteLegGeometry.BuilderlineString(Collection<? extends Collection<Double>> lineString)An ordered list of positions used to plot a route on a map.RouteLegGeometry.BuilderlineString(Collection<Double>... lineString)An ordered list of positions used to plot a route on a map.RouteLegGeometry.Builderpolyline(String polyline)An ordered list of positions used to plot a route on a map in a lossy compression format.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
lineString
RouteLegGeometry.Builder lineString(Collection<? extends Collection<Double>> lineString)
An ordered list of positions used to plot a route on a map.
LineString and Polyline are mutually exclusive properties.
- Parameters:
lineString- An ordered list of positions used to plot a route on a map.LineString and Polyline are mutually exclusive properties.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineString
RouteLegGeometry.Builder lineString(Collection<Double>... lineString)
An ordered list of positions used to plot a route on a map.
LineString and Polyline are mutually exclusive properties.
- Parameters:
lineString- An ordered list of positions used to plot a route on a map.LineString and Polyline are mutually exclusive properties.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polyline
RouteLegGeometry.Builder polyline(String polyline)
An ordered list of positions used to plot a route on a map in a lossy compression format.
LineString and Polyline are mutually exclusive properties.
- Parameters:
polyline- An ordered list of positions used to plot a route on a map in a lossy compression format.LineString and Polyline are mutually exclusive properties.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-