Interface RouteVehicleLegDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteVehicleLegDetails.Builder,RouteVehicleLegDetails>,SdkBuilder<RouteVehicleLegDetails.Builder,RouteVehicleLegDetails>,SdkPojo
- Enclosing class:
- RouteVehicleLegDetails
public static interface RouteVehicleLegDetails.Builder extends SdkPojo, CopyableBuilder<RouteVehicleLegDetails.Builder,RouteVehicleLegDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RouteVehicleLegDetails.Builderarrival(Consumer<RouteVehicleArrival.Builder> arrival)Details corresponding to the arrival for the leg.RouteVehicleLegDetails.Builderarrival(RouteVehicleArrival arrival)Details corresponding to the arrival for the leg.default RouteVehicleLegDetails.Builderdeparture(Consumer<RouteVehicleDeparture.Builder> departure)Details corresponding to the departure for the leg.RouteVehicleLegDetails.Builderdeparture(RouteVehicleDeparture departure)Details corresponding to the departure for the leg.RouteVehicleLegDetails.Builderincidents(Collection<RouteVehicleIncident> incidents)Incidents corresponding to this leg of the route.RouteVehicleLegDetails.Builderincidents(Consumer<RouteVehicleIncident.Builder>... incidents)Incidents corresponding to this leg of the route.RouteVehicleLegDetails.Builderincidents(RouteVehicleIncident... incidents)Incidents corresponding to this leg of the route.RouteVehicleLegDetails.Buildernotices(Collection<RouteVehicleNotice> notices)Notices are additional information returned that indicate issues that occurred during route calculation.RouteVehicleLegDetails.Buildernotices(Consumer<RouteVehicleNotice.Builder>... notices)Notices are additional information returned that indicate issues that occurred during route calculation.RouteVehicleLegDetails.Buildernotices(RouteVehicleNotice... notices)Notices are additional information returned that indicate issues that occurred during route calculation.RouteVehicleLegDetails.BuilderpassThroughWaypoints(Collection<RoutePassThroughWaypoint> passThroughWaypoints)Waypoints that were passed through during the leg.RouteVehicleLegDetails.BuilderpassThroughWaypoints(Consumer<RoutePassThroughWaypoint.Builder>... passThroughWaypoints)Waypoints that were passed through during the leg.RouteVehicleLegDetails.BuilderpassThroughWaypoints(RoutePassThroughWaypoint... passThroughWaypoints)Waypoints that were passed through during the leg.RouteVehicleLegDetails.Builderspans(Collection<RouteVehicleSpan> spans)Spans that were computed for the requested SpanAdditionalFeatures.RouteVehicleLegDetails.Builderspans(Consumer<RouteVehicleSpan.Builder>... spans)Spans that were computed for the requested SpanAdditionalFeatures.RouteVehicleLegDetails.Builderspans(RouteVehicleSpan... spans)Spans that were computed for the requested SpanAdditionalFeatures.default RouteVehicleLegDetails.Buildersummary(Consumer<RouteVehicleSummary.Builder> summary)Summarized details of the leg.RouteVehicleLegDetails.Buildersummary(RouteVehicleSummary summary)Summarized details of the leg.RouteVehicleLegDetails.Buildertolls(Collection<RouteToll> tolls)Toll related options.RouteVehicleLegDetails.Buildertolls(Consumer<RouteToll.Builder>... tolls)Toll related options.RouteVehicleLegDetails.Buildertolls(RouteToll... tolls)Toll related options.RouteVehicleLegDetails.BuildertollSystems(Collection<RouteTollSystem> tollSystems)Toll systems are authorities that collect payments for the toll.RouteVehicleLegDetails.BuildertollSystems(Consumer<RouteTollSystem.Builder>... tollSystems)Toll systems are authorities that collect payments for the toll.RouteVehicleLegDetails.BuildertollSystems(RouteTollSystem... tollSystems)Toll systems are authorities that collect payments for the toll.RouteVehicleLegDetails.BuildertravelSteps(Collection<RouteVehicleTravelStep> travelSteps)Steps of a leg that must be performed before the travel portion of the leg.RouteVehicleLegDetails.BuildertravelSteps(Consumer<RouteVehicleTravelStep.Builder>... travelSteps)Steps of a leg that must be performed before the travel portion of the leg.RouteVehicleLegDetails.BuildertravelSteps(RouteVehicleTravelStep... travelSteps)Steps of a leg that must be performed before the travel portion of the leg.RouteVehicleLegDetails.BuildertruckRoadTypes(String... truckRoadTypes)Truck road type identifiers.RouteVehicleLegDetails.BuildertruckRoadTypes(Collection<String> truckRoadTypes)Truck road type identifiers.RouteVehicleLegDetails.Builderzones(Collection<RouteZone> zones)Zones corresponding to this leg of the route.RouteVehicleLegDetails.Builderzones(Consumer<RouteZone.Builder>... zones)Zones corresponding to this leg of the route.RouteVehicleLegDetails.Builderzones(RouteZone... zones)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 Detail
-
arrival
RouteVehicleLegDetails.Builder arrival(RouteVehicleArrival 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
default RouteVehicleLegDetails.Builder arrival(Consumer<RouteVehicleArrival.Builder> arrival)
Details corresponding to the arrival for the leg.
This is a convenience method that creates an instance of theRouteVehicleArrival.Builderavoiding the need to create one manually viaRouteVehicleArrival.builder().When the
Consumercompletes,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:
arrival(RouteVehicleArrival)
-
departure
RouteVehicleLegDetails.Builder departure(RouteVehicleDeparture 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
default RouteVehicleLegDetails.Builder departure(Consumer<RouteVehicleDeparture.Builder> departure)
Details corresponding to the departure for the leg.
This is a convenience method that creates an instance of theRouteVehicleDeparture.Builderavoiding the need to create one manually viaRouteVehicleDeparture.builder().When the
Consumercompletes,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:
departure(RouteVehicleDeparture)
-
incidents
RouteVehicleLegDetails.Builder incidents(Collection<RouteVehicleIncident> 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
RouteVehicleLegDetails.Builder incidents(RouteVehicleIncident... 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
RouteVehicleLegDetails.Builder incidents(Consumer<RouteVehicleIncident.Builder>... incidents)
Incidents corresponding to this leg of the route.
This is a convenience method that creates an instance of theRouteVehicleIncident.Builderavoiding the need to create one manually viaRouteVehicleIncident.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#incidents(List.) - 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:
#incidents(java.util.Collection)
-
notices
RouteVehicleLegDetails.Builder notices(Collection<RouteVehicleNotice> 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
RouteVehicleLegDetails.Builder notices(RouteVehicleNotice... 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
RouteVehicleLegDetails.Builder notices(Consumer<RouteVehicleNotice.Builder>... 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.Builderavoiding the need to create one manually viaRouteVehicleNotice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#notices(List.) - 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:
#notices(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaRoutePassThroughWaypoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#passThroughWaypoints(List.) - 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:
#passThroughWaypoints(java.util.Collection)
-
spans
RouteVehicleLegDetails.Builder spans(Collection<RouteVehicleSpan> 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
RouteVehicleLegDetails.Builder spans(RouteVehicleSpan... 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
RouteVehicleLegDetails.Builder spans(Consumer<RouteVehicleSpan.Builder>... spans)
Spans that were computed for the requested SpanAdditionalFeatures.
This is a convenience method that creates an instance of theRouteVehicleSpan.Builderavoiding the need to create one manually viaRouteVehicleSpan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#spans(List.) - 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:
#spans(java.util.Collection)
-
summary
RouteVehicleLegDetails.Builder summary(RouteVehicleSummary 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
default RouteVehicleLegDetails.Builder summary(Consumer<RouteVehicleSummary.Builder> summary)
Summarized details of the leg.
This is a convenience method that creates an instance of theRouteVehicleSummary.Builderavoiding the need to create one manually viaRouteVehicleSummary.builder().When the
Consumercompletes,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:
summary(RouteVehicleSummary)
-
tolls
RouteVehicleLegDetails.Builder tolls(Collection<RouteToll> 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
RouteVehicleLegDetails.Builder tolls(RouteToll... 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
RouteVehicleLegDetails.Builder tolls(Consumer<RouteToll.Builder>... tolls)
Toll related options.
This is a convenience method that creates an instance of theRouteToll.Builderavoiding the need to create one manually viaRouteToll.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tolls(List.) - 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:
#tolls(java.util.Collection)
-
tollSystems
RouteVehicleLegDetails.Builder tollSystems(Collection<RouteTollSystem> 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
RouteVehicleLegDetails.Builder tollSystems(RouteTollSystem... 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
RouteVehicleLegDetails.Builder tollSystems(Consumer<RouteTollSystem.Builder>... tollSystems)
Toll systems are authorities that collect payments for the toll.
This is a convenience method that creates an instance of theRouteTollSystem.Builderavoiding the need to create one manually viaRouteTollSystem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tollSystems(List.) - 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:
#tollSystems(java.util.Collection)
-
travelSteps
RouteVehicleLegDetails.Builder travelSteps(Collection<RouteVehicleTravelStep> 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
RouteVehicleLegDetails.Builder travelSteps(RouteVehicleTravelStep... 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
RouteVehicleLegDetails.Builder travelSteps(Consumer<RouteVehicleTravelStep.Builder>... 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.Builderavoiding the need to create one manually viaRouteVehicleTravelStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#travelSteps(List.) - 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:
#travelSteps(java.util.Collection)
-
truckRoadTypes
RouteVehicleLegDetails.Builder truckRoadTypes(Collection<String> truckRoadTypes)
Truck road type identifiers.
BK1throughBK4apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Parameters:
truckRoadTypes- Truck road type identifiers.BK1throughBK4apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4apply 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
RouteVehicleLegDetails.Builder truckRoadTypes(String... truckRoadTypes)
Truck road type identifiers.
BK1throughBK4apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4apply only to Mexico.There are currently no other supported values as of 26th April 2024.
- Parameters:
truckRoadTypes- Truck road type identifiers.BK1throughBK4apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4apply 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
RouteVehicleLegDetails.Builder zones(Collection<RouteZone> 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
RouteVehicleLegDetails.Builder zones(RouteZone... 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
RouteVehicleLegDetails.Builder zones(Consumer<RouteZone.Builder>... zones)
Zones corresponding to this leg of the route.
This is a convenience method that creates an instance of theRouteZone.Builderavoiding the need to create one manually viaRouteZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#zones(List.) - 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:
#zones(java.util.Collection)
-
-