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