Interface RouteFerryLegDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteFerryLegDetails.Builder,
,RouteFerryLegDetails> SdkBuilder<RouteFerryLegDetails.Builder,
,RouteFerryLegDetails> SdkPojo
- Enclosing class:
RouteFerryLegDetails
-
Method Summary
Modifier and TypeMethodDescriptionafterTravelSteps
(Collection<RouteFerryAfterTravelStep> afterTravelSteps) Steps of a leg that must be performed after the travel portion of the leg.afterTravelSteps
(Consumer<RouteFerryAfterTravelStep.Builder>... afterTravelSteps) Steps of a leg that must be performed after the travel portion of the leg.afterTravelSteps
(RouteFerryAfterTravelStep... afterTravelSteps) Steps of a leg that must be performed after the travel portion of the leg.default RouteFerryLegDetails.Builder
arrival
(Consumer<RouteFerryArrival.Builder> arrival) Details corresponding to the arrival for the leg.arrival
(RouteFerryArrival arrival) Details corresponding to the arrival for the leg.beforeTravelSteps
(Collection<RouteFerryBeforeTravelStep> beforeTravelSteps) Steps of a leg that must be performed before the travel portion of the leg.beforeTravelSteps
(Consumer<RouteFerryBeforeTravelStep.Builder>... beforeTravelSteps) Steps of a leg that must be performed before the travel portion of the leg.beforeTravelSteps
(RouteFerryBeforeTravelStep... beforeTravelSteps) Steps of a leg that must be performed before the travel portion of the leg.default RouteFerryLegDetails.Builder
departure
(Consumer<RouteFerryDeparture.Builder> departure) Details corresponding to the departure for the leg.departure
(RouteFerryDeparture departure) Details corresponding to the departure for the leg.notices
(Collection<RouteFerryNotice> notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices
(Consumer<RouteFerryNotice.Builder>... notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices
(RouteFerryNotice... 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.Route name of the ferry line.spans
(Collection<RouteFerrySpan> spans) Spans that were computed for the requested SpanAdditionalFeatures.spans
(Consumer<RouteFerrySpan.Builder>... spans) Spans that were computed for the requested SpanAdditionalFeatures.spans
(RouteFerrySpan... spans) Spans that were computed for the requested SpanAdditionalFeatures.default RouteFerryLegDetails.Builder
summary
(Consumer<RouteFerrySummary.Builder> summary) Summarized details of the leg.summary
(RouteFerrySummary summary) Summarized details of the leg.travelSteps
(Collection<RouteFerryTravelStep> travelSteps) Steps of a leg that must be performed before the travel portion of the leg.travelSteps
(Consumer<RouteFerryTravelStep.Builder>... travelSteps) Steps of a leg that must be performed before the travel portion of the leg.travelSteps
(RouteFerryTravelStep... 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
-
afterTravelSteps
RouteFerryLegDetails.Builder afterTravelSteps(Collection<RouteFerryAfterTravelStep> afterTravelSteps) Steps of a leg that must be performed after the travel portion of the leg.
- Parameters:
afterTravelSteps
- Steps of a leg that must be performed after the travel portion of the leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterTravelSteps
Steps of a leg that must be performed after the travel portion of the leg.
- Parameters:
afterTravelSteps
- Steps of a leg that must be performed after the travel portion of the leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterTravelSteps
RouteFerryLegDetails.Builder afterTravelSteps(Consumer<RouteFerryAfterTravelStep.Builder>... afterTravelSteps) Steps of a leg that must be performed after the travel portion of the leg.
This is a convenience method that creates an instance of theRouteFerryAfterTravelStep.Builder
avoiding the need to create one manually viaRouteFerryAfterTravelStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toafterTravelSteps(List<RouteFerryAfterTravelStep>)
.- Parameters:
afterTravelSteps
- a consumer that will call methods onRouteFerryAfterTravelStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theRouteFerryArrival.Builder
avoiding the need to create one manually viaRouteFerryArrival.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toarrival(RouteFerryArrival)
.- Parameters:
arrival
- a consumer that will call methods onRouteFerryArrival.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
beforeTravelSteps
RouteFerryLegDetails.Builder beforeTravelSteps(Collection<RouteFerryBeforeTravelStep> beforeTravelSteps) Steps of a leg that must be performed before the travel portion of the leg.
- Parameters:
beforeTravelSteps
- 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.
-
beforeTravelSteps
Steps of a leg that must be performed before the travel portion of the leg.
- Parameters:
beforeTravelSteps
- 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.
-
beforeTravelSteps
RouteFerryLegDetails.Builder beforeTravelSteps(Consumer<RouteFerryBeforeTravelStep.Builder>... beforeTravelSteps) 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 theRouteFerryBeforeTravelStep.Builder
avoiding the need to create one manually viaRouteFerryBeforeTravelStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobeforeTravelSteps(List<RouteFerryBeforeTravelStep>)
.- Parameters:
beforeTravelSteps
- a consumer that will call methods onRouteFerryBeforeTravelStep.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 theRouteFerryDeparture.Builder
avoiding the need to create one manually viaRouteFerryDeparture.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeparture(RouteFerryDeparture)
.- Parameters:
departure
- a consumer that will call methods onRouteFerryDeparture.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 theRouteFerryNotice.Builder
avoiding the need to create one manually viaRouteFerryNotice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotices(List<RouteFerryNotice>)
.- Parameters:
notices
- a consumer that will call methods onRouteFerryNotice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
passThroughWaypoints
RouteFerryLegDetails.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
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
RouteFerryLegDetails.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:
-
routeName
Route name of the ferry line.
- Parameters:
routeName
- Route name of the ferry line.- 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.
- 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 theRouteFerrySpan.Builder
avoiding the need to create one manually viaRouteFerrySpan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospans(List<RouteFerrySpan>)
.- Parameters:
spans
- a consumer that will call methods onRouteFerrySpan.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 theRouteFerrySummary.Builder
avoiding the need to create one manually viaRouteFerrySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummary(RouteFerrySummary)
.- Parameters:
summary
- a consumer that will call methods onRouteFerrySummary.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 theRouteFerryTravelStep.Builder
avoiding the need to create one manually viaRouteFerryTravelStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totravelSteps(List<RouteFerryTravelStep>)
.- Parameters:
travelSteps
- a consumer that will call methods onRouteFerryTravelStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-