Interface WaypointOptimizationAvoidanceOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WaypointOptimizationAvoidanceOptions.Builder,
,WaypointOptimizationAvoidanceOptions> SdkBuilder<WaypointOptimizationAvoidanceOptions.Builder,
,WaypointOptimizationAvoidanceOptions> SdkPojo
- Enclosing class:
WaypointOptimizationAvoidanceOptions
@Mutable
@NotThreadSafe
public static interface WaypointOptimizationAvoidanceOptions.Builder
extends SdkPojo, CopyableBuilder<WaypointOptimizationAvoidanceOptions.Builder,WaypointOptimizationAvoidanceOptions>
-
Method Summary
Modifier and TypeMethodDescriptionAreas to be avoided.Areas to be avoided.areas
(WaypointOptimizationAvoidanceArea... areas) Areas to be avoided.carShuttleTrains
(Boolean carShuttleTrains) Avoidance options for cars-shuttles-trains.controlledAccessHighways
(Boolean controlledAccessHighways) Avoid controlled access highways while calculating the route.Avoid dirt roads while calculating the route.Avoidance options for ferries.Avoids roads where the specified toll transponders are the only mode of payment.Avoid tunnels while calculating the route.Avoid U-turns for calculation on highways and motorways.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
-
areas
WaypointOptimizationAvoidanceOptions.Builder areas(Collection<WaypointOptimizationAvoidanceArea> areas) Areas to be avoided.
- Parameters:
areas
- Areas to be avoided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
areas
Areas to be avoided.
- Parameters:
areas
- Areas to be avoided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
areas
WaypointOptimizationAvoidanceOptions.Builder areas(Consumer<WaypointOptimizationAvoidanceArea.Builder>... areas) Areas to be avoided.
This is a convenience method that creates an instance of theWaypointOptimizationAvoidanceArea.Builder
avoiding the need to create one manually viaWaypointOptimizationAvoidanceArea.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toareas(List<WaypointOptimizationAvoidanceArea>)
.- Parameters:
areas
- a consumer that will call methods onWaypointOptimizationAvoidanceArea.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
carShuttleTrains
Avoidance options for cars-shuttles-trains.
- Parameters:
carShuttleTrains
- Avoidance options for cars-shuttles-trains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlledAccessHighways
WaypointOptimizationAvoidanceOptions.Builder controlledAccessHighways(Boolean controlledAccessHighways) Avoid controlled access highways while calculating the route.
- Parameters:
controlledAccessHighways
- Avoid controlled access highways while calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dirtRoads
Avoid dirt roads while calculating the route.
- Parameters:
dirtRoads
- Avoid dirt roads while calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ferries
Avoidance options for ferries.
- Parameters:
ferries
- Avoidance options for ferries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tollRoads
Avoids roads where the specified toll transponders are the only mode of payment.
- Parameters:
tollRoads
- Avoids roads where the specified toll transponders are the only mode of payment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnels
Avoid tunnels while calculating the route.
- Parameters:
tunnels
- Avoid tunnels while calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uTurns
Avoid U-turns for calculation on highways and motorways.
- Parameters:
uTurns
- Avoid U-turns for calculation on highways and motorways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-