Interface IsolineTravelModeOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IsolineTravelModeOptions.Builder,
,IsolineTravelModeOptions> SdkBuilder<IsolineTravelModeOptions.Builder,
,IsolineTravelModeOptions> SdkPojo
- Enclosing class:
IsolineTravelModeOptions
-
Method Summary
Modifier and TypeMethodDescriptiondefault IsolineTravelModeOptions.Builder
Travel mode options when the provided travel mode is "Car"car
(IsolineCarOptions car) Travel mode options when the provided travel mode is "Car"default IsolineTravelModeOptions.Builder
scooter
(Consumer<IsolineScooterOptions.Builder> scooter) Travel mode options when the provided travel mode isScooter
scooter
(IsolineScooterOptions scooter) Travel mode options when the provided travel mode isScooter
default IsolineTravelModeOptions.Builder
truck
(Consumer<IsolineTruckOptions.Builder> truck) Travel mode options when the provided travel mode is "Truck"truck
(IsolineTruckOptions truck) Travel mode options when the provided travel mode is "Truck"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
-
car
Travel mode options when the provided travel mode is "Car"
- Parameters:
car
- Travel mode options when the provided travel mode is "Car"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
car
Travel mode options when the provided travel mode is "Car"
This is a convenience method that creates an instance of theIsolineCarOptions.Builder
avoiding the need to create one manually viaIsolineCarOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocar(IsolineCarOptions)
.- Parameters:
car
- a consumer that will call methods onIsolineCarOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scooter
Travel mode options when the provided travel mode is
Scooter
When travel mode is set to
Scooter
, then the avoidance optionControlledAccessHighways
defaults totrue
.- Parameters:
scooter
- Travel mode options when the provided travel mode isScooter
When travel mode is set to
Scooter
, then the avoidance optionControlledAccessHighways
defaults totrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scooter
Travel mode options when the provided travel mode is
Scooter
When travel mode is set to
Scooter
, then the avoidance optionControlledAccessHighways
defaults totrue
.IsolineScooterOptions.Builder
avoiding the need to create one manually viaIsolineScooterOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscooter(IsolineScooterOptions)
.- Parameters:
scooter
- a consumer that will call methods onIsolineScooterOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
truck
Travel mode options when the provided travel mode is "Truck"
- Parameters:
truck
- Travel mode options when the provided travel mode is "Truck"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
truck
Travel mode options when the provided travel mode is "Truck"
This is a convenience method that creates an instance of theIsolineTruckOptions.Builder
avoiding the need to create one manually viaIsolineTruckOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totruck(IsolineTruckOptions)
.- Parameters:
truck
- a consumer that will call methods onIsolineTruckOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-