Interface RoutePedestrianLegDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutePedestrianLegDetails.Builder,
,RoutePedestrianLegDetails> SdkBuilder<RoutePedestrianLegDetails.Builder,
,RoutePedestrianLegDetails> SdkPojo
- Enclosing class:
RoutePedestrianLegDetails
-
Method Summary
Modifier and TypeMethodDescriptionarrival
(Consumer<RoutePedestrianArrival.Builder> arrival) Details corresponding to the arrival for the leg.arrival
(RoutePedestrianArrival arrival) Details corresponding to the arrival for the leg.departure
(Consumer<RoutePedestrianDeparture.Builder> departure) Details corresponding to the departure for the leg.departure
(RoutePedestrianDeparture departure) Details corresponding to the departure for the leg.notices
(Collection<RoutePedestrianNotice> notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices
(Consumer<RoutePedestrianNotice.Builder>... notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices
(RoutePedestrianNotice... 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<RoutePedestrianSpan> spans) Spans that were computed for the requested SpanAdditionalFeatures.spans
(Consumer<RoutePedestrianSpan.Builder>... spans) Spans that were computed for the requested SpanAdditionalFeatures.spans
(RoutePedestrianSpan... spans) Spans that were computed for the requested SpanAdditionalFeatures.summary
(Consumer<RoutePedestrianSummary.Builder> summary) Summarized details of the leg.summary
(RoutePedestrianSummary summary) Summarized details of the leg.travelSteps
(Collection<RoutePedestrianTravelStep> travelSteps) Steps of a leg that must be performed before the travel portion of the leg.travelSteps
(Consumer<RoutePedestrianTravelStep.Builder>... travelSteps) Steps of a leg that must be performed before the travel portion of the leg.travelSteps
(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 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 theRoutePedestrianArrival.Builder
avoiding the need to create one manually viaRoutePedestrianArrival.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaRoutePedestrianDeparture.builder()
.When the
Consumer
completes,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:
-
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 theRoutePedestrianNotice.Builder
avoiding the need to create one manually viaRoutePedestrianNotice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotices(List<RoutePedestrianNotice>)
.- 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:
-
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.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 theRoutePedestrianSpan.Builder
avoiding the need to create one manually viaRoutePedestrianSpan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospans(List<RoutePedestrianSpan>)
.- 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:
-
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 theRoutePedestrianSummary.Builder
avoiding the need to create one manually viaRoutePedestrianSummary.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaRoutePedestrianTravelStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totravelSteps(List<RoutePedestrianTravelStep>)
.- 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:
-