Interface RouteMatrixMatchingOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteMatrixMatchingOptions.Builder,RouteMatrixMatchingOptions>,SdkBuilder<RouteMatrixMatchingOptions.Builder,RouteMatrixMatchingOptions>,SdkPojo
- Enclosing class:
- RouteMatrixMatchingOptions
public static interface RouteMatrixMatchingOptions.Builder extends SdkPojo, CopyableBuilder<RouteMatrixMatchingOptions.Builder,RouteMatrixMatchingOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteMatrixMatchingOptions.BuildernameHint(String nameHint)Attempts to match the provided position to a road similar to the provided name.RouteMatrixMatchingOptions.BuilderonRoadThreshold(Long onRoadThreshold)If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.RouteMatrixMatchingOptions.Builderradius(Long radius)Considers all roads within the provided radius to match the provided destination to.RouteMatrixMatchingOptions.Builderstrategy(String strategy)Strategy that defines matching of the position onto the road network.RouteMatrixMatchingOptions.Builderstrategy(MatchingStrategy strategy)Strategy that defines matching of the position onto the road network.-
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
-
nameHint
RouteMatrixMatchingOptions.Builder nameHint(String nameHint)
Attempts to match the provided position to a road similar to the provided name.
- Parameters:
nameHint- Attempts to match the provided position to a road similar to the provided name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onRoadThreshold
RouteMatrixMatchingOptions.Builder onRoadThreshold(Long onRoadThreshold)
If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.
Unit:
meters- Parameters:
onRoadThreshold- If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.Unit:
meters- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
radius
RouteMatrixMatchingOptions.Builder radius(Long 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.
-
strategy
RouteMatrixMatchingOptions.Builder strategy(String strategy)
Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.
- Parameters:
strategy- Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MatchingStrategy,MatchingStrategy
-
strategy
RouteMatrixMatchingOptions.Builder strategy(MatchingStrategy strategy)
Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.
- Parameters:
strategy- Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MatchingStrategy,MatchingStrategy
-
-