Interface PolylineCorridor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolylineCorridor.Builder,PolylineCorridor>,SdkBuilder<PolylineCorridor.Builder,PolylineCorridor>,SdkPojo
- Enclosing class:
- PolylineCorridor
public static interface PolylineCorridor.Builder extends SdkPojo, CopyableBuilder<PolylineCorridor.Builder,PolylineCorridor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolylineCorridor.Builderpolyline(String polyline)An ordered list of positions used to plot a route on a map in a lossy compression format.PolylineCorridor.Builderradius(Integer radius)Considers all roads within the provided radius to match the provided destination to.-
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
-
polyline
PolylineCorridor.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.
-
radius
PolylineCorridor.Builder radius(Integer radius)
Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.
Unit:
Meters- Parameters:
radius- Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.Unit:
Meters- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-