Interface IsolineAvoidanceOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IsolineAvoidanceOptions.Builder,
,IsolineAvoidanceOptions> SdkBuilder<IsolineAvoidanceOptions.Builder,
,IsolineAvoidanceOptions> SdkPojo
- Enclosing class:
IsolineAvoidanceOptions
-
Method Summary
Modifier and TypeMethodDescriptionareas
(Collection<IsolineAvoidanceArea> areas) Areas to be avoided.areas
(Consumer<IsolineAvoidanceArea.Builder>... areas) Areas to be avoided.areas
(IsolineAvoidanceArea... areas) Areas to be avoided.carShuttleTrains
(Boolean carShuttleTrains) Avoid car-shuttle-trains while calculating an isoline.controlledAccessHighways
(Boolean controlledAccessHighways) Avoid controlled access highways while calculating an isoline.Avoid dirt roads while calculating an isoline.Avoid ferries while calculating an isoline.seasonalClosure
(Boolean seasonalClosure) Avoid roads that have seasonal closure while calculating an isoline.Avoids roads where the specified toll transponders are the only mode of payment.tollTransponders
(Boolean tollTransponders) Avoids roads where the specified toll transponders are the only mode of payment.truckRoadTypes
(String... truckRoadTypes) Truck road type identifiers.truckRoadTypes
(Collection<String> truckRoadTypes) Truck road type identifiers.Avoid tunnels while calculating an isoline.Avoid U-turns for calculation on highways and motorways.zoneCategories
(Collection<IsolineAvoidanceZoneCategory> zoneCategories) Zone categories to be avoided.zoneCategories
(Consumer<IsolineAvoidanceZoneCategory.Builder>... zoneCategories) Zone categories to be avoided.zoneCategories
(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 Details
-
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
Areas to be avoided.
This is a convenience method that creates an instance of theIsolineAvoidanceArea.Builder
avoiding the need to create one manually viaIsolineAvoidanceArea.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toareas(List<IsolineAvoidanceArea>)
.- 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:
-
carShuttleTrains
Avoid car-shuttle-trains while calculating an isoline.
- Parameters:
carShuttleTrains
- Avoid car-shuttle-trains while calculating an isoline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlledAccessHighways
Avoid controlled access highways while calculating an isoline.
- Parameters:
controlledAccessHighways
- Avoid controlled access highways while calculating an isoline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dirtRoads
Avoid dirt roads while calculating an isoline.
- Parameters:
dirtRoads
- Avoid dirt roads while calculating an isoline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ferries
Avoid ferries while calculating an isoline.
- Parameters:
ferries
- Avoid ferries while calculating an isoline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
seasonalClosure
Avoid roads that have seasonal closure while calculating an isoline.
- Parameters:
seasonalClosure
- Avoid roads that have seasonal closure while calculating an isoline.- 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.
-
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
Truck road type identifiers.
BK1
throughBK4
apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4
apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Parameters:
truckRoadTypes
- Truck road type identifiers.BK1
throughBK4
apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4
apply 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
Truck road type identifiers.
BK1
throughBK4
apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4
apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Parameters:
truckRoadTypes
- Truck road type identifiers.BK1
throughBK4
apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4
apply 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
Avoid tunnels while calculating an isoline.
- Parameters:
tunnels
- Avoid tunnels while calculating an isoline.- 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.
-
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
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.Builder
avoiding the need to create one manually viaIsolineAvoidanceZoneCategory.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tozoneCategories(List<IsolineAvoidanceZoneCategory>)
.- 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:
-