Interface RouteTollRate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTollRate.Builder,RouteTollRate>,SdkBuilder<RouteTollRate.Builder,RouteTollRate>,SdkPojo
- Enclosing class:
- RouteTollRate
public static interface RouteTollRate.Builder extends SdkPojo, CopyableBuilder<RouteTollRate.Builder,RouteTollRate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RouteTollRate.BuilderapplicableTimes(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.RouteTollRate.BuilderconvertedPrice(RouteTollPrice convertedPrice)Price in the converted currency as specified in the request.RouteTollRate.Builderid(String id)The Toll rate Id.default RouteTollRate.BuilderlocalPrice(Consumer<RouteTollPrice.Builder> localPrice)Price in the local regional currency.RouteTollRate.BuilderlocalPrice(RouteTollPrice localPrice)Price in the local regional currency.RouteTollRate.Buildername(String name)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.RouteTollRate.Builderpass(RouteTollPass pass)Details if the toll rate can be a pass that supports multiple trips.RouteTollRate.BuilderpaymentMethods(Collection<RouteTollPaymentMethod> paymentMethods)Accepted payment methods at the toll.RouteTollRate.BuilderpaymentMethods(RouteTollPaymentMethod... paymentMethods)Accepted payment methods at the toll.RouteTollRate.BuilderpaymentMethodsWithStrings(String... paymentMethods)Accepted payment methods at the toll.RouteTollRate.BuilderpaymentMethodsWithStrings(Collection<String> paymentMethods)Accepted payment methods at the toll.RouteTollRate.Buildertransponders(Collection<RouteTransponder> transponders)Transponders for which this toll can be applied.RouteTollRate.Buildertransponders(Consumer<RouteTransponder.Builder>... transponders)Transponders for which this toll can be applied.RouteTollRate.Buildertransponders(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 Detail
-
applicableTimes
RouteTollRate.Builder applicableTimes(String 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
RouteTollRate.Builder convertedPrice(RouteTollPrice 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
default RouteTollRate.Builder convertedPrice(Consumer<RouteTollPrice.Builder> 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:
convertedPrice(RouteTollPrice)
-
id
RouteTollRate.Builder id(String 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
RouteTollRate.Builder localPrice(RouteTollPrice 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
default RouteTollRate.Builder localPrice(Consumer<RouteTollPrice.Builder> 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:
localPrice(RouteTollPrice)
-
name
RouteTollRate.Builder name(String 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
RouteTollRate.Builder pass(RouteTollPass 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
default RouteTollRate.Builder pass(Consumer<RouteTollPass.Builder> 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:
pass(RouteTollPass)
-
paymentMethodsWithStrings
RouteTollRate.Builder paymentMethodsWithStrings(Collection<String> 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.
-
paymentMethodsWithStrings
RouteTollRate.Builder paymentMethodsWithStrings(String... 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
RouteTollRate.Builder paymentMethods(Collection<RouteTollPaymentMethod> 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
RouteTollRate.Builder paymentMethods(RouteTollPaymentMethod... 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
RouteTollRate.Builder transponders(Collection<RouteTransponder> 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
RouteTollRate.Builder transponders(RouteTransponder... 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
RouteTollRate.Builder transponders(Consumer<RouteTransponder.Builder>... 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 to#transponders(List.) - 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:
#transponders(java.util.Collection)
-
-