Interface RouteTollOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteTollOptions.Builder,
,RouteTollOptions> SdkBuilder<RouteTollOptions.Builder,
,RouteTollOptions> SdkPojo
- Enclosing class:
RouteTollOptions
-
Method Summary
Modifier and TypeMethodDescriptionallTransponders
(Boolean allTransponders) Specifies if the user has valid transponder with access to all toll systems.allVignettes
(Boolean allVignettes) Specifies if the user has valid vignettes with access for all toll roads.Currency code corresponding to the price.default RouteTollOptions.Builder
emissionType
(Consumer<RouteEmissionType.Builder> emissionType) Emission type of the vehicle for toll cost calculation.emissionType
(RouteEmissionType emissionType) Emission type of the vehicle for toll cost calculation.vehicleCategory
(String vehicleCategory) Vehicle category for toll cost calculation.vehicleCategory
(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 Details
-
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
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
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
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
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, EuroEev
RouteEmissionType.Builder
avoiding the need to create one manually viaRouteEmissionType.builder()
.When the
Consumer
completes,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:
-
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:
-
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:
-