Interface RouteTollRate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteTollRate.Builder,
,RouteTollRate> SdkBuilder<RouteTollRate.Builder,
,RouteTollRate> SdkPojo
- Enclosing class:
RouteTollRate
-
Method Summary
Modifier and TypeMethodDescriptionapplicableTimes
(String applicableTimes) Time when the rate is valid.default RouteTollRate.Builder
convertedPrice
(Consumer<RouteTollPrice.Builder> convertedPrice) Price in the converted currency as specified in the request.convertedPrice
(RouteTollPrice convertedPrice) Price in the converted currency as specified in the request.The Toll rate Id.default RouteTollRate.Builder
localPrice
(Consumer<RouteTollPrice.Builder> localPrice) Price in the local regional currency.localPrice
(RouteTollPrice localPrice) Price in the local regional currency.The name of the toll.default RouteTollRate.Builder
pass
(Consumer<RouteTollPass.Builder> pass) Details if the toll rate can be a pass that supports multiple trips.pass
(RouteTollPass pass) Details if the toll rate can be a pass that supports multiple trips.paymentMethods
(Collection<RouteTollPaymentMethod> paymentMethods) Accepted payment methods at the toll.paymentMethods
(RouteTollPaymentMethod... paymentMethods) Accepted payment methods at the toll.paymentMethodsWithStrings
(String... paymentMethods) Accepted payment methods at the toll.paymentMethodsWithStrings
(Collection<String> paymentMethods) Accepted payment methods at the toll.transponders
(Collection<RouteTransponder> transponders) Transponders for which this toll can be applied.transponders
(Consumer<RouteTransponder.Builder>... transponders) Transponders for which this toll can be applied.transponders
(RouteTransponder... transponders) Transponders for which this toll can be applied.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
-
applicableTimes
Time when the rate is valid.
- Parameters:
applicableTimes
- Time when the rate is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
convertedPrice
Price in the converted currency as specified in the request.
- Parameters:
convertedPrice
- Price in the converted currency as specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
convertedPrice
Price in the converted currency as specified in the request.
This is a convenience method that creates an instance of theRouteTollPrice.Builder
avoiding the need to create one manually viaRouteTollPrice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconvertedPrice(RouteTollPrice)
.- Parameters:
convertedPrice
- a consumer that will call methods onRouteTollPrice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The Toll rate Id.
- Parameters:
id
- The Toll rate Id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localPrice
Price in the local regional currency.
- Parameters:
localPrice
- Price in the local regional currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localPrice
Price in the local regional currency.
This is a convenience method that creates an instance of theRouteTollPrice.Builder
avoiding the need to create one manually viaRouteTollPrice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocalPrice(RouteTollPrice)
.- Parameters:
localPrice
- a consumer that will call methods onRouteTollPrice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the toll.
- Parameters:
name
- The name of the toll.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pass
Details if the toll rate can be a pass that supports multiple trips.
- Parameters:
pass
- Details if the toll rate can be a pass that supports multiple trips.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pass
Details if the toll rate can be a pass that supports multiple trips.
This is a convenience method that creates an instance of theRouteTollPass.Builder
avoiding the need to create one manually viaRouteTollPass.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topass(RouteTollPass)
.- Parameters:
pass
- a consumer that will call methods onRouteTollPass.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentMethodsWithStrings
Accepted payment methods at the toll.
- Parameters:
paymentMethods
- Accepted payment methods at the toll.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentMethodsWithStrings
Accepted payment methods at the toll.
- Parameters:
paymentMethods
- Accepted payment methods at the toll.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentMethods
Accepted payment methods at the toll.
- Parameters:
paymentMethods
- Accepted payment methods at the toll.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentMethods
Accepted payment methods at the toll.
- Parameters:
paymentMethods
- Accepted payment methods at the toll.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transponders
Transponders for which this toll can be applied.
- Parameters:
transponders
- Transponders for which this toll can be applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transponders
Transponders for which this toll can be applied.
- Parameters:
transponders
- Transponders for which this toll can be applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transponders
Transponders for which this toll can be applied.
This is a convenience method that creates an instance of theRouteTransponder.Builder
avoiding the need to create one manually viaRouteTransponder.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransponders(List<RouteTransponder>)
.- Parameters:
transponders
- a consumer that will call methods onRouteTransponder.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-