Interface IsolineAvoidanceOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineAvoidanceOptions.Builder,IsolineAvoidanceOptions>,SdkBuilder<IsolineAvoidanceOptions.Builder,IsolineAvoidanceOptions>,SdkPojo
- Enclosing class:
- IsolineAvoidanceOptions
public static interface IsolineAvoidanceOptions.Builder extends SdkPojo, CopyableBuilder<IsolineAvoidanceOptions.Builder,IsolineAvoidanceOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IsolineAvoidanceOptions.Builderareas(Collection<IsolineAvoidanceArea> areas)Areas to be avoided.IsolineAvoidanceOptions.Builderareas(Consumer<IsolineAvoidanceArea.Builder>... areas)Areas to be avoided.IsolineAvoidanceOptions.Builderareas(IsolineAvoidanceArea... areas)Areas to be avoided.IsolineAvoidanceOptions.BuildercarShuttleTrains(Boolean carShuttleTrains)Avoid car-shuttle-trains while calculating the route.IsolineAvoidanceOptions.BuildercontrolledAccessHighways(Boolean controlledAccessHighways)Avoid controlled access highways while calculating the route.IsolineAvoidanceOptions.BuilderdirtRoads(Boolean dirtRoads)Avoid dirt roads while calculating the route.IsolineAvoidanceOptions.Builderferries(Boolean ferries)Avoid ferries while calculating the route.IsolineAvoidanceOptions.BuilderseasonalClosure(Boolean seasonalClosure)Avoid roads that have seasonal closure while calculating the route.IsolineAvoidanceOptions.BuildertollRoads(Boolean tollRoads)Avoids roads where the specified toll transponders are the only mode of payment.IsolineAvoidanceOptions.BuildertollTransponders(Boolean tollTransponders)Avoids roads where the specified toll transponders are the only mode of payment.IsolineAvoidanceOptions.BuildertruckRoadTypes(String... truckRoadTypes)Truck road type identifiers.IsolineAvoidanceOptions.BuildertruckRoadTypes(Collection<String> truckRoadTypes)Truck road type identifiers.IsolineAvoidanceOptions.Buildertunnels(Boolean tunnels)Avoid tunnels while calculating the route.IsolineAvoidanceOptions.BuilderuTurns(Boolean uTurns)Avoid U-turns for calculation on highways and motorways.IsolineAvoidanceOptions.BuilderzoneCategories(Collection<IsolineAvoidanceZoneCategory> zoneCategories)Zone categories to be avoided.IsolineAvoidanceOptions.BuilderzoneCategories(Consumer<IsolineAvoidanceZoneCategory.Builder>... zoneCategories)Zone categories to be avoided.IsolineAvoidanceOptions.BuilderzoneCategories(IsolineAvoidanceZoneCategory... zoneCategories)Zone categories to be avoided.-
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
-
areas
IsolineAvoidanceOptions.Builder areas(Collection<IsolineAvoidanceArea> 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
IsolineAvoidanceOptions.Builder areas(IsolineAvoidanceArea... 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
IsolineAvoidanceOptions.Builder areas(Consumer<IsolineAvoidanceArea.Builder>... areas)
Areas to be avoided.
This is a convenience method that creates an instance of theIsolineAvoidanceArea.Builderavoiding the need to create one manually viaIsolineAvoidanceArea.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#areas(List.) - Parameters:
areas- a consumer that will call methods onIsolineAvoidanceArea.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#areas(java.util.Collection)
-
carShuttleTrains
IsolineAvoidanceOptions.Builder carShuttleTrains(Boolean carShuttleTrains)
Avoid car-shuttle-trains while calculating the route.
- Parameters:
carShuttleTrains- Avoid car-shuttle-trains while calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlledAccessHighways
IsolineAvoidanceOptions.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
IsolineAvoidanceOptions.Builder dirtRoads(Boolean 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
IsolineAvoidanceOptions.Builder ferries(Boolean ferries)
Avoid ferries while calculating the route.
- Parameters:
ferries- Avoid ferries while calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
seasonalClosure
IsolineAvoidanceOptions.Builder seasonalClosure(Boolean seasonalClosure)
Avoid roads that have seasonal closure while calculating the route.
- Parameters:
seasonalClosure- Avoid roads that have seasonal closure while calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tollRoads
IsolineAvoidanceOptions.Builder tollRoads(Boolean 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.
-
tollTransponders
IsolineAvoidanceOptions.Builder tollTransponders(Boolean tollTransponders)
Avoids roads where the specified toll transponders are the only mode of payment.
- Parameters:
tollTransponders- 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.
-
truckRoadTypes
IsolineAvoidanceOptions.Builder truckRoadTypes(Collection<String> truckRoadTypes)
Truck road type identifiers.
BK1throughBK4apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Parameters:
truckRoadTypes- Truck road type identifiers.BK1throughBK4apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
truckRoadTypes
IsolineAvoidanceOptions.Builder truckRoadTypes(String... truckRoadTypes)
Truck road type identifiers.
BK1throughBK4apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Parameters:
truckRoadTypes- Truck road type identifiers.BK1throughBK4apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnels
IsolineAvoidanceOptions.Builder tunnels(Boolean 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
IsolineAvoidanceOptions.Builder uTurns(Boolean 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.
-
zoneCategories
IsolineAvoidanceOptions.Builder zoneCategories(Collection<IsolineAvoidanceZoneCategory> zoneCategories)
Zone categories to be avoided.
- Parameters:
zoneCategories- Zone categories to be avoided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneCategories
IsolineAvoidanceOptions.Builder zoneCategories(IsolineAvoidanceZoneCategory... zoneCategories)
Zone categories to be avoided.
- Parameters:
zoneCategories- Zone categories to be avoided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneCategories
IsolineAvoidanceOptions.Builder zoneCategories(Consumer<IsolineAvoidanceZoneCategory.Builder>... zoneCategories)
Zone categories to be avoided.
This is a convenience method that creates an instance of theIsolineAvoidanceZoneCategory.Builderavoiding the need to create one manually viaIsolineAvoidanceZoneCategory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#zoneCategories(List.) - Parameters:
zoneCategories- a consumer that will call methods onIsolineAvoidanceZoneCategory.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#zoneCategories(java.util.Collection)
-
-