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.BuilderconvertedPrice(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.BuilderlocalPrice(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.Builderpass(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
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
-
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.Builderavoiding the need to create one manually viaRouteTollPrice.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRouteTollPrice.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRouteTollPass.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRouteTransponder.builder().When the
Consumercompletes,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:
-