Interface RouteTollSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteTollSummary.Builder,
,RouteTollSummary> SdkBuilder<RouteTollSummary.Builder,
,RouteTollSummary> SdkPojo
- Enclosing class:
RouteTollSummary
@Mutable
@NotThreadSafe
public static interface RouteTollSummary.Builder
extends SdkPojo, CopyableBuilder<RouteTollSummary.Builder,RouteTollSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteTollSummary.Builder
Total toll summary for the complete route.total
(RouteTollPriceSummary total) Total toll summary for the complete route.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
-
total
Total toll summary for the complete route. Total is the only summary available today.
- Parameters:
total
- Total toll summary for the complete route. Total is the only summary available today.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
Total toll summary for the complete route. Total is the only summary available today.
This is a convenience method that creates an instance of theRouteTollPriceSummary.Builder
avoiding the need to create one manually viaRouteTollPriceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tototal(RouteTollPriceSummary)
.- Parameters:
total
- a consumer that will call methods onRouteTollPriceSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-