Interface RouteTaxiSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTaxiSummary.Builder,,RouteTaxiSummary> SdkBuilder<RouteTaxiSummary.Builder,,RouteTaxiSummary> SdkPojo
- Enclosing class:
RouteTaxiSummary
@Mutable
@NotThreadSafe
public static interface RouteTaxiSummary.Builder
extends SdkPojo, CopyableBuilder<RouteTaxiSummary.Builder,RouteTaxiSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteTaxiSummary.Builderoverview(Consumer<RouteTaxiOverviewSummary.Builder> overview) Summary including duration and distance for the entire leg.overview(RouteTaxiOverviewSummary overview) Summary including duration and distance for the entire leg.default RouteTaxiSummary.BuildertravelOnly(Consumer<RouteTaxiTravelOnlySummary.Builder> travelOnly) Summary including duration and distance for the travel portion of the leg only.travelOnly(RouteTaxiTravelOnlySummary travelOnly) Summary including duration and distance for the travel portion of the leg only.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
-
overview
Summary including duration and distance for the entire leg.
- Parameters:
overview- Summary including duration and distance for the entire leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overview
Summary including duration and distance for the entire leg.
This is a convenience method that creates an instance of theRouteTaxiOverviewSummary.Builderavoiding the need to create one manually viaRouteTaxiOverviewSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooverview(RouteTaxiOverviewSummary).- Parameters:
overview- a consumer that will call methods onRouteTaxiOverviewSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
travelOnly
Summary including duration and distance for the travel portion of the leg only.
- Parameters:
travelOnly- Summary including duration and distance for the travel portion of the leg only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
travelOnly
default RouteTaxiSummary.Builder travelOnly(Consumer<RouteTaxiTravelOnlySummary.Builder> travelOnly) Summary including duration and distance for the travel portion of the leg only.
This is a convenience method that creates an instance of theRouteTaxiTravelOnlySummary.Builderavoiding the need to create one manually viaRouteTaxiTravelOnlySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totravelOnly(RouteTaxiTravelOnlySummary).- Parameters:
travelOnly- a consumer that will call methods onRouteTaxiTravelOnlySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-