Interface IsolineOriginOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineOriginOptions.Builder,,IsolineOriginOptions> SdkBuilder<IsolineOriginOptions.Builder,,IsolineOriginOptions> SdkPojo
- Enclosing class:
IsolineOriginOptions
-
Method Summary
Modifier and TypeMethodDescriptionavoidActionsForDistance(Long avoidActionsForDistance) The distance in meters from the origin point within which certain routing actions (such as U-turns or left turns across traffic) are restricted.Initial direction of travel in degrees (0-360, where 0 is north).default IsolineOriginOptions.Buildermatching(Consumer<IsolineMatchingOptions.Builder> matching) Controls how the origin point is matched to the road network, including search radius and matching strategy.matching(IsolineMatchingOptions matching) Controls how the origin point is matched to the road network, including search radius and matching strategy.default IsolineOriginOptions.BuildersideOfStreet(Consumer<IsolineSideOfStreetOptions.Builder> sideOfStreet) Controls which side of the street is considered accessible from the origin point, particularly important for divided roads where building entrances or parking access may only be available from one direction.sideOfStreet(IsolineSideOfStreetOptions sideOfStreet) Controls which side of the street is considered accessible from the origin point, particularly important for divided roads where building entrances or parking access may only be available from one direction.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
avoidActionsForDistance
The distance in meters from the origin point within which certain routing actions (such as U-turns or left turns across traffic) are restricted. This helps generate more practical routes by avoiding potentially dangerous maneuvers near the starting point.
- Parameters:
avoidActionsForDistance- The distance in meters from the origin point within which certain routing actions (such as U-turns or left turns across traffic) are restricted. This helps generate more practical routes by avoiding potentially dangerous maneuvers near the starting point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
heading
Initial direction of travel in degrees (0-360, where 0 is north). This affects which road segments are considered accessible from the starting point and is particularly useful when the origin is on a divided road or at a complex intersection.
- Parameters:
heading- Initial direction of travel in degrees (0-360, where 0 is north). This affects which road segments are considered accessible from the starting point and is particularly useful when the origin is on a divided road or at a complex intersection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matching
Controls how the origin point is matched to the road network, including search radius and matching strategy.
- Parameters:
matching- Controls how the origin point is matched to the road network, including search radius and matching strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matching
Controls how the origin point is matched to the road network, including search radius and matching strategy.
This is a convenience method that creates an instance of theIsolineMatchingOptions.Builderavoiding the need to create one manually viaIsolineMatchingOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatching(IsolineMatchingOptions).- Parameters:
matching- a consumer that will call methods onIsolineMatchingOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sideOfStreet
Controls which side of the street is considered accessible from the origin point, particularly important for divided roads where building entrances or parking access may only be available from one direction.
- Parameters:
sideOfStreet- Controls which side of the street is considered accessible from the origin point, particularly important for divided roads where building entrances or parking access may only be available from one direction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sideOfStreet
default IsolineOriginOptions.Builder sideOfStreet(Consumer<IsolineSideOfStreetOptions.Builder> sideOfStreet) Controls which side of the street is considered accessible from the origin point, particularly important for divided roads where building entrances or parking access may only be available from one direction.
This is a convenience method that creates an instance of theIsolineSideOfStreetOptions.Builderavoiding the need to create one manually viaIsolineSideOfStreetOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosideOfStreet(IsolineSideOfStreetOptions).- Parameters:
sideOfStreet- a consumer that will call methods onIsolineSideOfStreetOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-