Interface RouteMatrixDestinationOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteMatrixDestinationOptions.Builder,RouteMatrixDestinationOptions>,SdkBuilder<RouteMatrixDestinationOptions.Builder,RouteMatrixDestinationOptions>,SdkPojo
- Enclosing class:
- RouteMatrixDestinationOptions
public static interface RouteMatrixDestinationOptions.Builder extends SdkPojo, CopyableBuilder<RouteMatrixDestinationOptions.Builder,RouteMatrixDestinationOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RouteMatrixDestinationOptions.BuilderavoidActionsForDistance(Long avoidActionsForDistance)Avoids actions for the provided distance.RouteMatrixDestinationOptions.Builderheading(Double heading)GPS Heading at the position.default RouteMatrixDestinationOptions.Buildermatching(Consumer<RouteMatrixMatchingOptions.Builder> matching)Options to configure matching the provided position to the road network.RouteMatrixDestinationOptions.Buildermatching(RouteMatrixMatchingOptions matching)Options to configure matching the provided position to the road network.default RouteMatrixDestinationOptions.BuildersideOfStreet(Consumer<RouteMatrixSideOfStreetOptions.Builder> sideOfStreet)Options to configure matching the provided position to a side of the street.RouteMatrixDestinationOptions.BuildersideOfStreet(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 Detail
-
avoidActionsForDistance
RouteMatrixDestinationOptions.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.
-
heading
RouteMatrixDestinationOptions.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
RouteMatrixDestinationOptions.Builder matching(RouteMatrixMatchingOptions 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.Builderavoiding the need to create one manually viaRouteMatrixMatchingOptions.builder().When the
Consumercompletes,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:
matching(RouteMatrixMatchingOptions)
-
sideOfStreet
RouteMatrixDestinationOptions.Builder sideOfStreet(RouteMatrixSideOfStreetOptions 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.Builderavoiding the need to create one manually viaRouteMatrixSideOfStreetOptions.builder().When the
Consumercompletes,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:
sideOfStreet(RouteMatrixSideOfStreetOptions)
-
-