Interface RoutePedestrianLegDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RoutePedestrianLegDetails.Builder,RoutePedestrianLegDetails>,SdkBuilder<RoutePedestrianLegDetails.Builder,RoutePedestrianLegDetails>,SdkPojo
- Enclosing class:
- RoutePedestrianLegDetails
public static interface RoutePedestrianLegDetails.Builder extends SdkPojo, CopyableBuilder<RoutePedestrianLegDetails.Builder,RoutePedestrianLegDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RoutePedestrianLegDetails.Builderarrival(Consumer<RoutePedestrianArrival.Builder> arrival)Details corresponding to the arrival for the leg.RoutePedestrianLegDetails.Builderarrival(RoutePedestrianArrival arrival)Details corresponding to the arrival for the leg.default RoutePedestrianLegDetails.Builderdeparture(Consumer<RoutePedestrianDeparture.Builder> departure)Details corresponding to the departure for the leg.RoutePedestrianLegDetails.Builderdeparture(RoutePedestrianDeparture departure)Details corresponding to the departure for the leg.RoutePedestrianLegDetails.Buildernotices(Collection<RoutePedestrianNotice> notices)Notices are additional information returned that indicate issues that occurred during route calculation.RoutePedestrianLegDetails.Buildernotices(Consumer<RoutePedestrianNotice.Builder>... notices)Notices are additional information returned that indicate issues that occurred during route calculation.RoutePedestrianLegDetails.Buildernotices(RoutePedestrianNotice... notices)Notices are additional information returned that indicate issues that occurred during route calculation.RoutePedestrianLegDetails.BuilderpassThroughWaypoints(Collection<RoutePassThroughWaypoint> passThroughWaypoints)Waypoints that were passed through during the leg.RoutePedestrianLegDetails.BuilderpassThroughWaypoints(Consumer<RoutePassThroughWaypoint.Builder>... passThroughWaypoints)Waypoints that were passed through during the leg.RoutePedestrianLegDetails.BuilderpassThroughWaypoints(RoutePassThroughWaypoint... passThroughWaypoints)Waypoints that were passed through during the leg.RoutePedestrianLegDetails.Builderspans(Collection<RoutePedestrianSpan> spans)Spans that were computed for the requested SpanAdditionalFeatures.RoutePedestrianLegDetails.Builderspans(Consumer<RoutePedestrianSpan.Builder>... spans)Spans that were computed for the requested SpanAdditionalFeatures.RoutePedestrianLegDetails.Builderspans(RoutePedestrianSpan... spans)Spans that were computed for the requested SpanAdditionalFeatures.default RoutePedestrianLegDetails.Buildersummary(Consumer<RoutePedestrianSummary.Builder> summary)Summarized details of the leg.RoutePedestrianLegDetails.Buildersummary(RoutePedestrianSummary summary)Summarized details of the leg.RoutePedestrianLegDetails.BuildertravelSteps(Collection<RoutePedestrianTravelStep> travelSteps)Steps of a leg that must be performed before the travel portion of the leg.RoutePedestrianLegDetails.BuildertravelSteps(Consumer<RoutePedestrianTravelStep.Builder>... travelSteps)Steps of a leg that must be performed before the travel portion of the leg.RoutePedestrianLegDetails.BuildertravelSteps(RoutePedestrianTravelStep... travelSteps)Steps of a leg that must be performed before the travel portion of the leg.-
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
RoutePedestrianLegDetails.Builder arrival(RoutePedestrianArrival 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 RoutePedestrianLegDetails.Builder arrival(Consumer<RoutePedestrianArrival.Builder> arrival)
Details corresponding to the arrival for the leg.
This is a convenience method that creates an instance of theRoutePedestrianArrival.Builderavoiding the need to create one manually viaRoutePedestrianArrival.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toarrival(RoutePedestrianArrival).- Parameters:
arrival- a consumer that will call methods onRoutePedestrianArrival.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
arrival(RoutePedestrianArrival)
-
departure
RoutePedestrianLegDetails.Builder departure(RoutePedestrianDeparture 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 RoutePedestrianLegDetails.Builder departure(Consumer<RoutePedestrianDeparture.Builder> departure)
Details corresponding to the departure for the leg.
This is a convenience method that creates an instance of theRoutePedestrianDeparture.Builderavoiding the need to create one manually viaRoutePedestrianDeparture.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeparture(RoutePedestrianDeparture).- Parameters:
departure- a consumer that will call methods onRoutePedestrianDeparture.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
departure(RoutePedestrianDeparture)
-
notices
RoutePedestrianLegDetails.Builder notices(Collection<RoutePedestrianNotice> 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
RoutePedestrianLegDetails.Builder notices(RoutePedestrianNotice... 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
RoutePedestrianLegDetails.Builder notices(Consumer<RoutePedestrianNotice.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 theRoutePedestrianNotice.Builderavoiding the need to create one manually viaRoutePedestrianNotice.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 onRoutePedestrianNotice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#notices(java.util.Collection)
-
passThroughWaypoints
RoutePedestrianLegDetails.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
RoutePedestrianLegDetails.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
RoutePedestrianLegDetails.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
RoutePedestrianLegDetails.Builder spans(Collection<RoutePedestrianSpan> 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
RoutePedestrianLegDetails.Builder spans(RoutePedestrianSpan... 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
RoutePedestrianLegDetails.Builder spans(Consumer<RoutePedestrianSpan.Builder>... spans)
Spans that were computed for the requested SpanAdditionalFeatures.
This is a convenience method that creates an instance of theRoutePedestrianSpan.Builderavoiding the need to create one manually viaRoutePedestrianSpan.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 onRoutePedestrianSpan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#spans(java.util.Collection)
-
summary
RoutePedestrianLegDetails.Builder summary(RoutePedestrianSummary 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 RoutePedestrianLegDetails.Builder summary(Consumer<RoutePedestrianSummary.Builder> summary)
Summarized details of the leg.
This is a convenience method that creates an instance of theRoutePedestrianSummary.Builderavoiding the need to create one manually viaRoutePedestrianSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(RoutePedestrianSummary).- Parameters:
summary- a consumer that will call methods onRoutePedestrianSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
summary(RoutePedestrianSummary)
-
travelSteps
RoutePedestrianLegDetails.Builder travelSteps(Collection<RoutePedestrianTravelStep> 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
RoutePedestrianLegDetails.Builder travelSteps(RoutePedestrianTravelStep... 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
RoutePedestrianLegDetails.Builder travelSteps(Consumer<RoutePedestrianTravelStep.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 theRoutePedestrianTravelStep.Builderavoiding the need to create one manually viaRoutePedestrianTravelStep.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 onRoutePedestrianTravelStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#travelSteps(java.util.Collection)
-
-