Interface RouteFerrySummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteFerrySummary.Builder,,RouteFerrySummary> SdkBuilder<RouteFerrySummary.Builder,,RouteFerrySummary> SdkPojo
- Enclosing class:
RouteFerrySummary
public static interface RouteFerrySummary.Builder
extends SdkPojo, CopyableBuilder<RouteFerrySummary.Builder,RouteFerrySummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteFerrySummary.Builderoverview(Consumer<RouteFerryOverviewSummary.Builder> overview) Summarized details for the leg including before travel, travel and after travel steps.overview(RouteFerryOverviewSummary overview) Summarized details for the leg including before travel, travel and after travel steps.default RouteFerrySummary.BuildertravelOnly(Consumer<RouteFerryTravelOnlySummary.Builder> travelOnly) Summarized details for the leg including travel steps only.travelOnly(RouteFerryTravelOnlySummary travelOnly) Summarized details for the leg including travel steps 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
Summarized details for the leg including before travel, travel and after travel steps.
- Parameters:
overview- Summarized details for the leg including before travel, travel and after travel steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overview
Summarized details for the leg including before travel, travel and after travel steps.
This is a convenience method that creates an instance of theRouteFerryOverviewSummary.Builderavoiding the need to create one manually viaRouteFerryOverviewSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooverview(RouteFerryOverviewSummary).- Parameters:
overview- a consumer that will call methods onRouteFerryOverviewSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
travelOnly
Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is in meters
- Parameters:
travelOnly- Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is in meters- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
travelOnly
default RouteFerrySummary.Builder travelOnly(Consumer<RouteFerryTravelOnlySummary.Builder> travelOnly) Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is in meters
This is a convenience method that creates an instance of theRouteFerryTravelOnlySummary.Builderavoiding the need to create one manually viaRouteFerryTravelOnlySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totravelOnly(RouteFerryTravelOnlySummary).- Parameters:
travelOnly- a consumer that will call methods onRouteFerryTravelOnlySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-