Interface RouteVehicleLegDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteVehicleLegDetails.Builder,
,RouteVehicleLegDetails> SdkBuilder<RouteVehicleLegDetails.Builder,
,RouteVehicleLegDetails> SdkPojo
- Enclosing class:
RouteVehicleLegDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteVehicleLegDetails.Builder
arrival
(Consumer<RouteVehicleArrival.Builder> arrival) Details corresponding to the arrival for the leg.arrival
(RouteVehicleArrival arrival) Details corresponding to the arrival for the leg.default RouteVehicleLegDetails.Builder
departure
(Consumer<RouteVehicleDeparture.Builder> departure) Details corresponding to the departure for the leg.departure
(RouteVehicleDeparture departure) Details corresponding to the departure for the leg.incidents
(Collection<RouteVehicleIncident> incidents) Incidents corresponding to this leg of the route.incidents
(Consumer<RouteVehicleIncident.Builder>... incidents) Incidents corresponding to this leg of the route.incidents
(RouteVehicleIncident... incidents) Incidents corresponding to this leg of the route.notices
(Collection<RouteVehicleNotice> notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices
(Consumer<RouteVehicleNotice.Builder>... notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices
(RouteVehicleNotice... notices) Notices are additional information returned that indicate issues that occurred during route calculation.passThroughWaypoints
(Collection<RoutePassThroughWaypoint> passThroughWaypoints) Waypoints that were passed through during the leg.passThroughWaypoints
(Consumer<RoutePassThroughWaypoint.Builder>... passThroughWaypoints) Waypoints that were passed through during the leg.passThroughWaypoints
(RoutePassThroughWaypoint... passThroughWaypoints) Waypoints that were passed through during the leg.spans
(Collection<RouteVehicleSpan> spans) Spans that were computed for the requested SpanAdditionalFeatures.spans
(Consumer<RouteVehicleSpan.Builder>... spans) Spans that were computed for the requested SpanAdditionalFeatures.spans
(RouteVehicleSpan... spans) Spans that were computed for the requested SpanAdditionalFeatures.default RouteVehicleLegDetails.Builder
summary
(Consumer<RouteVehicleSummary.Builder> summary) Summarized details of the leg.summary
(RouteVehicleSummary summary) Summarized details of the leg.tolls
(Collection<RouteToll> tolls) Toll related options.tolls
(Consumer<RouteToll.Builder>... tolls) Toll related options.Toll related options.tollSystems
(Collection<RouteTollSystem> tollSystems) Toll systems are authorities that collect payments for the toll.tollSystems
(Consumer<RouteTollSystem.Builder>... tollSystems) Toll systems are authorities that collect payments for the toll.tollSystems
(RouteTollSystem... tollSystems) Toll systems are authorities that collect payments for the toll.travelSteps
(Collection<RouteVehicleTravelStep> travelSteps) Steps of a leg that must be performed before the travel portion of the leg.travelSteps
(Consumer<RouteVehicleTravelStep.Builder>... travelSteps) Steps of a leg that must be performed before the travel portion of the leg.travelSteps
(RouteVehicleTravelStep... travelSteps) Steps of a leg that must be performed before the travel portion of the leg.truckRoadTypes
(String... truckRoadTypes) Truck road type identifiers.truckRoadTypes
(Collection<String> truckRoadTypes) Truck road type identifiers.zones
(Collection<RouteZone> zones) Zones corresponding to this leg of the route.zones
(Consumer<RouteZone.Builder>... zones) Zones corresponding to this leg of the route.Zones corresponding to this leg of the 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
-
arrival
Details corresponding to the arrival for the leg.
- Parameters:
arrival
- Details corresponding to the arrival for the leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arrival
Details corresponding to the arrival for the leg.
This is a convenience method that creates an instance of theRouteVehicleArrival.Builder
avoiding the need to create one manually viaRouteVehicleArrival.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toarrival(RouteVehicleArrival)
.- Parameters:
arrival
- a consumer that will call methods onRouteVehicleArrival.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
departure
Details corresponding to the departure for the leg.
- Parameters:
departure
- Details corresponding to the departure for the leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
departure
Details corresponding to the departure for the leg.
This is a convenience method that creates an instance of theRouteVehicleDeparture.Builder
avoiding the need to create one manually viaRouteVehicleDeparture.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeparture(RouteVehicleDeparture)
.- Parameters:
departure
- a consumer that will call methods onRouteVehicleDeparture.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
incidents
Incidents corresponding to this leg of the route.
- Parameters:
incidents
- Incidents corresponding to this leg of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidents
Incidents corresponding to this leg of the route.
- Parameters:
incidents
- Incidents corresponding to this leg of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidents
Incidents corresponding to this leg of the route.
This is a convenience method that creates an instance of theRouteVehicleIncident.Builder
avoiding the need to create one manually viaRouteVehicleIncident.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincidents(List<RouteVehicleIncident>)
.- Parameters:
incidents
- a consumer that will call methods onRouteVehicleIncident.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notices
Notices are additional information returned that indicate issues that occurred during route calculation.
- Parameters:
notices
- Notices are additional information returned that indicate issues that occurred during route calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notices
Notices are additional information returned that indicate issues that occurred during route calculation.
- Parameters:
notices
- Notices are additional information returned that indicate issues that occurred during route calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notices
Notices are additional information returned that indicate issues that occurred during route calculation.
This is a convenience method that creates an instance of theRouteVehicleNotice.Builder
avoiding the need to create one manually viaRouteVehicleNotice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotices(List<RouteVehicleNotice>)
.- Parameters:
notices
- a consumer that will call methods onRouteVehicleNotice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
passThroughWaypoints
RouteVehicleLegDetails.Builder passThroughWaypoints(Collection<RoutePassThroughWaypoint> passThroughWaypoints) Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.
- Parameters:
passThroughWaypoints
- Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passThroughWaypoints
RouteVehicleLegDetails.Builder passThroughWaypoints(RoutePassThroughWaypoint... passThroughWaypoints) Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.
- Parameters:
passThroughWaypoints
- Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passThroughWaypoints
RouteVehicleLegDetails.Builder passThroughWaypoints(Consumer<RoutePassThroughWaypoint.Builder>... passThroughWaypoints) Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.
This is a convenience method that creates an instance of theRoutePassThroughWaypoint.Builder
avoiding the need to create one manually viaRoutePassThroughWaypoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topassThroughWaypoints(List<RoutePassThroughWaypoint>)
.- Parameters:
passThroughWaypoints
- a consumer that will call methods onRoutePassThroughWaypoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spans
Spans that were computed for the requested SpanAdditionalFeatures.
- Parameters:
spans
- Spans that were computed for the requested SpanAdditionalFeatures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spans
Spans that were computed for the requested SpanAdditionalFeatures.
- Parameters:
spans
- Spans that were computed for the requested SpanAdditionalFeatures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spans
Spans that were computed for the requested SpanAdditionalFeatures.
This is a convenience method that creates an instance of theRouteVehicleSpan.Builder
avoiding the need to create one manually viaRouteVehicleSpan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospans(List<RouteVehicleSpan>)
.- Parameters:
spans
- a consumer that will call methods onRouteVehicleSpan.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
Summarized details of the leg.
- Parameters:
summary
- Summarized details of the leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
Summarized details of the leg.
This is a convenience method that creates an instance of theRouteVehicleSummary.Builder
avoiding the need to create one manually viaRouteVehicleSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummary(RouteVehicleSummary)
.- Parameters:
summary
- a consumer that will call methods onRouteVehicleSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tolls
Toll related options.
- Parameters:
tolls
- Toll related options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tolls
Toll related options.
- Parameters:
tolls
- Toll related options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tolls
Toll related options.
This is a convenience method that creates an instance of theRouteToll.Builder
avoiding the need to create one manually viaRouteToll.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totolls(List<RouteToll>)
.- Parameters:
tolls
- a consumer that will call methods onRouteToll.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tollSystems
Toll systems are authorities that collect payments for the toll.
- Parameters:
tollSystems
- Toll systems are authorities that collect payments for the toll.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tollSystems
Toll systems are authorities that collect payments for the toll.
- Parameters:
tollSystems
- Toll systems are authorities that collect payments for the toll.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tollSystems
Toll systems are authorities that collect payments for the toll.
This is a convenience method that creates an instance of theRouteTollSystem.Builder
avoiding the need to create one manually viaRouteTollSystem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totollSystems(List<RouteTollSystem>)
.- Parameters:
tollSystems
- a consumer that will call methods onRouteTollSystem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
travelSteps
Steps of a leg that must be performed before the travel portion of the leg.
- Parameters:
travelSteps
- Steps of a leg that must be performed before the travel portion of the leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
travelSteps
Steps of a leg that must be performed before the travel portion of the leg.
- Parameters:
travelSteps
- Steps of a leg that must be performed before the travel portion of the leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
travelSteps
Steps of a leg that must be performed before the travel portion of the leg.
This is a convenience method that creates an instance of theRouteVehicleTravelStep.Builder
avoiding the need to create one manually viaRouteVehicleTravelStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totravelSteps(List<RouteVehicleTravelStep>)
.- Parameters:
travelSteps
- a consumer that will call methods onRouteVehicleTravelStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
truckRoadTypes
Truck road type identifiers.
BK1
throughBK4
apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4
apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Parameters:
truckRoadTypes
- Truck road type identifiers.BK1
throughBK4
apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4
apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
truckRoadTypes
Truck road type identifiers.
BK1
throughBK4
apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4
apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Parameters:
truckRoadTypes
- Truck road type identifiers.BK1
throughBK4
apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4
apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zones
Zones corresponding to this leg of the route.
- Parameters:
zones
- Zones corresponding to this leg of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zones
Zones corresponding to this leg of the route.
- Parameters:
zones
- Zones corresponding to this leg of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zones
Zones corresponding to this leg of the route.
This is a convenience method that creates an instance of theRouteZone.Builder
avoiding the need to create one manually viaRouteZone.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tozones(List<RouteZone>)
.- Parameters:
zones
- a consumer that will call methods onRouteZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-