Interface RouteOriginOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteOriginOptions.Builder,RouteOriginOptions>,SdkBuilder<RouteOriginOptions.Builder,RouteOriginOptions>,SdkPojo
- Enclosing class:
- RouteOriginOptions
public static interface RouteOriginOptions.Builder extends SdkPojo, CopyableBuilder<RouteOriginOptions.Builder,RouteOriginOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RouteOriginOptions.BuilderavoidActionsForDistance(Long avoidActionsForDistance)Avoids actions for the provided distance.RouteOriginOptions.BuilderavoidUTurns(Boolean avoidUTurns)Avoid U-turns for calculation on highways and motorways.RouteOriginOptions.Builderheading(Double heading)GPS Heading at the position.default RouteOriginOptions.Buildermatching(Consumer<RouteMatchingOptions.Builder> matching)Options to configure matching the provided position to the road network.RouteOriginOptions.Buildermatching(RouteMatchingOptions matching)Options to configure matching the provided position to the road network.default RouteOriginOptions.BuildersideOfStreet(Consumer<RouteSideOfStreetOptions.Builder> sideOfStreet)Options to configure matching the provided position to a side of the street.RouteOriginOptions.BuildersideOfStreet(RouteSideOfStreetOptions sideOfStreet)Options to configure matching the provided position to a side of the street.-
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
-
avoidActionsForDistance
RouteOriginOptions.Builder avoidActionsForDistance(Long avoidActionsForDistance)
Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.
- Parameters:
avoidActionsForDistance- Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
avoidUTurns
RouteOriginOptions.Builder avoidUTurns(Boolean avoidUTurns)
Avoid U-turns for calculation on highways and motorways.
- Parameters:
avoidUTurns- Avoid U-turns for calculation on highways and motorways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
heading
RouteOriginOptions.Builder heading(Double heading)
GPS Heading at the position.
- Parameters:
heading- GPS Heading at the position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matching
RouteOriginOptions.Builder matching(RouteMatchingOptions matching)
Options to configure matching the provided position to the road network.
- Parameters:
matching- Options to configure matching the provided position to the road network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matching
default RouteOriginOptions.Builder matching(Consumer<RouteMatchingOptions.Builder> matching)
Options to configure matching the provided position to the road network.
This is a convenience method that creates an instance of theRouteMatchingOptions.Builderavoiding the need to create one manually viaRouteMatchingOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatching(RouteMatchingOptions).- Parameters:
matching- a consumer that will call methods onRouteMatchingOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
matching(RouteMatchingOptions)
-
sideOfStreet
RouteOriginOptions.Builder sideOfStreet(RouteSideOfStreetOptions sideOfStreet)
Options to configure matching the provided position to a side of the street.
- Parameters:
sideOfStreet- Options to configure matching the provided position to a side of the street.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sideOfStreet
default RouteOriginOptions.Builder sideOfStreet(Consumer<RouteSideOfStreetOptions.Builder> sideOfStreet)
Options to configure matching the provided position to a side of the street.
This is a convenience method that creates an instance of theRouteSideOfStreetOptions.Builderavoiding the need to create one manually viaRouteSideOfStreetOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosideOfStreet(RouteSideOfStreetOptions).- Parameters:
sideOfStreet- a consumer that will call methods onRouteSideOfStreetOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sideOfStreet(RouteSideOfStreetOptions)
-
-