Interface RouteTollOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTollOptions.Builder,RouteTollOptions>,SdkBuilder<RouteTollOptions.Builder,RouteTollOptions>,SdkPojo
- Enclosing class:
- RouteTollOptions
public static interface RouteTollOptions.Builder extends SdkPojo, CopyableBuilder<RouteTollOptions.Builder,RouteTollOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RouteTollOptions.BuilderallTransponders(Boolean allTransponders)Specifies if the user has valid transponder with access to all toll systems.RouteTollOptions.BuilderallVignettes(Boolean allVignettes)Specifies if the user has valid vignettes with access for all toll roads.RouteTollOptions.Buildercurrency(String currency)Currency code corresponding to the price.default RouteTollOptions.BuilderemissionType(Consumer<RouteEmissionType.Builder> emissionType)Emission type of the vehicle for toll cost calculation.RouteTollOptions.BuilderemissionType(RouteEmissionType emissionType)Emission type of the vehicle for toll cost calculation.RouteTollOptions.BuildervehicleCategory(String vehicleCategory)Vehicle category for toll cost calculation.RouteTollOptions.BuildervehicleCategory(RouteTollVehicleCategory vehicleCategory)Vehicle category for toll cost calculation.-
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
-
allTransponders
RouteTollOptions.Builder allTransponders(Boolean allTransponders)
Specifies if the user has valid transponder with access to all toll systems. This impacts toll calculation, and if true the price with transponders is used.
- Parameters:
allTransponders- Specifies if the user has valid transponder with access to all toll systems. This impacts toll calculation, and if true the price with transponders is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allVignettes
RouteTollOptions.Builder allVignettes(Boolean allVignettes)
Specifies if the user has valid vignettes with access for all toll roads. If a user has a vignette for a toll road, then toll cost for that road is omitted since no further payment is necessary.
- Parameters:
allVignettes- Specifies if the user has valid vignettes with access for all toll roads. If a user has a vignette for a toll road, then toll cost for that road is omitted since no further payment is necessary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
RouteTollOptions.Builder currency(String currency)
Currency code corresponding to the price. This is the same as Currency specified in the request.
- Parameters:
currency- Currency code corresponding to the price. This is the same as Currency specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emissionType
RouteTollOptions.Builder emissionType(RouteEmissionType emissionType)
Emission type of the vehicle for toll cost calculation.
Valid values:
Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev- Parameters:
emissionType- Emission type of the vehicle for toll cost calculation.Valid values:
Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emissionType
default RouteTollOptions.Builder emissionType(Consumer<RouteEmissionType.Builder> emissionType)
Emission type of the vehicle for toll cost calculation.
Valid values:
This is a convenience method that creates an instance of theEuro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEevRouteEmissionType.Builderavoiding the need to create one manually viaRouteEmissionType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemissionType(RouteEmissionType).- Parameters:
emissionType- a consumer that will call methods onRouteEmissionType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
emissionType(RouteEmissionType)
-
vehicleCategory
RouteTollOptions.Builder vehicleCategory(String vehicleCategory)
Vehicle category for toll cost calculation.
- Parameters:
vehicleCategory- Vehicle category for toll cost calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RouteTollVehicleCategory,RouteTollVehicleCategory
-
vehicleCategory
RouteTollOptions.Builder vehicleCategory(RouteTollVehicleCategory vehicleCategory)
Vehicle category for toll cost calculation.
- Parameters:
vehicleCategory- Vehicle category for toll cost calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RouteTollVehicleCategory,RouteTollVehicleCategory
-
-