Interface RouteMatrixDestinationOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteMatrixDestinationOptions.Builder,
,RouteMatrixDestinationOptions> SdkBuilder<RouteMatrixDestinationOptions.Builder,
,RouteMatrixDestinationOptions> SdkPojo
- Enclosing class:
RouteMatrixDestinationOptions
-
Method Summary
Modifier and TypeMethodDescriptionavoidActionsForDistance
(Long avoidActionsForDistance) Avoids actions for the provided distance.GPS Heading at the position.matching
(Consumer<RouteMatrixMatchingOptions.Builder> matching) Options to configure matching the provided position to the road network.matching
(RouteMatrixMatchingOptions matching) Options to configure matching the provided position to the road network.sideOfStreet
(Consumer<RouteMatrixSideOfStreetOptions.Builder> sideOfStreet) Options to configure matching the provided position to a side of the street.sideOfStreet
(RouteMatrixSideOfStreetOptions 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 Details
-
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.
-
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
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 RouteMatrixDestinationOptions.Builder matching(Consumer<RouteMatrixMatchingOptions.Builder> matching) Options to configure matching the provided position to the road network.
This is a convenience method that creates an instance of theRouteMatrixMatchingOptions.Builder
avoiding the need to create one manually viaRouteMatrixMatchingOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatching(RouteMatrixMatchingOptions)
.- Parameters:
matching
- a consumer that will call methods onRouteMatrixMatchingOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 RouteMatrixDestinationOptions.Builder sideOfStreet(Consumer<RouteMatrixSideOfStreetOptions.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 theRouteMatrixSideOfStreetOptions.Builder
avoiding the need to create one manually viaRouteMatrixSideOfStreetOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosideOfStreet(RouteMatrixSideOfStreetOptions)
.- Parameters:
sideOfStreet
- a consumer that will call methods onRouteMatrixSideOfStreetOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-