Interface IsolineTravelModeOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineTravelModeOptions.Builder,,IsolineTravelModeOptions> SdkBuilder<IsolineTravelModeOptions.Builder,,IsolineTravelModeOptions> SdkPojo
- Enclosing class:
IsolineTravelModeOptions
-
Method Summary
Modifier and TypeMethodDescriptiondefault IsolineTravelModeOptions.BuilderTravel mode options when the provided travel mode is "Car"car(IsolineCarOptions car) Travel mode options when the provided travel mode is "Car"default IsolineTravelModeOptions.Builderscooter(Consumer<IsolineScooterOptions.Builder> scooter) Travel mode options when the provided travel mode isScooterscooter(IsolineScooterOptions scooter) Travel mode options when the provided travel mode isScooterdefault IsolineTravelModeOptions.Buildertruck(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
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
-
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.Builderavoiding the need to create one manually viaIsolineCarOptions.builder().When the
Consumercompletes,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
ScooterWhen travel mode is set to
Scooter, then the avoidance optionControlledAccessHighwaysdefaults totrue.- Parameters:
scooter- Travel mode options when the provided travel mode isScooterWhen travel mode is set to
Scooter, then the avoidance optionControlledAccessHighwaysdefaults 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 This is a convenience method that creates an instance of theWhen travel mode is set to
Scooter, then the avoidance optionControlledAccessHighwaysdefaults totrue.IsolineScooterOptions.Builderavoiding the need to create one manually viaIsolineScooterOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaIsolineTruckOptions.builder().When the
Consumercompletes,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:
-