Interface RouteFerryLegDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteFerryLegDetails.Builder,RouteFerryLegDetails>,SdkBuilder<RouteFerryLegDetails.Builder,RouteFerryLegDetails>,SdkPojo
- Enclosing class:
- RouteFerryLegDetails
public static interface RouteFerryLegDetails.Builder extends SdkPojo, CopyableBuilder<RouteFerryLegDetails.Builder,RouteFerryLegDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RouteFerryLegDetails.BuilderafterTravelSteps(Collection<RouteFerryAfterTravelStep> afterTravelSteps)Steps of a leg that must be performed after the travel portion of the leg.RouteFerryLegDetails.BuilderafterTravelSteps(Consumer<RouteFerryAfterTravelStep.Builder>... afterTravelSteps)Steps of a leg that must be performed after the travel portion of the leg.RouteFerryLegDetails.BuilderafterTravelSteps(RouteFerryAfterTravelStep... afterTravelSteps)Steps of a leg that must be performed after the travel portion of the leg.default RouteFerryLegDetails.Builderarrival(Consumer<RouteFerryArrival.Builder> arrival)Details corresponding to the arrival for the leg.RouteFerryLegDetails.Builderarrival(RouteFerryArrival arrival)Details corresponding to the arrival for the leg.RouteFerryLegDetails.BuilderbeforeTravelSteps(Collection<RouteFerryBeforeTravelStep> beforeTravelSteps)Steps of a leg that must be performed before the travel portion of the leg.RouteFerryLegDetails.BuilderbeforeTravelSteps(Consumer<RouteFerryBeforeTravelStep.Builder>... beforeTravelSteps)Steps of a leg that must be performed before the travel portion of the leg.RouteFerryLegDetails.BuilderbeforeTravelSteps(RouteFerryBeforeTravelStep... beforeTravelSteps)Steps of a leg that must be performed before the travel portion of the leg.default RouteFerryLegDetails.Builderdeparture(Consumer<RouteFerryDeparture.Builder> departure)Details corresponding to the departure for the leg.RouteFerryLegDetails.Builderdeparture(RouteFerryDeparture departure)Details corresponding to the departure for the leg.RouteFerryLegDetails.Buildernotices(Collection<RouteFerryNotice> notices)Notices are additional information returned that indicate issues that occurred during route calculation.RouteFerryLegDetails.Buildernotices(Consumer<RouteFerryNotice.Builder>... notices)Notices are additional information returned that indicate issues that occurred during route calculation.RouteFerryLegDetails.Buildernotices(RouteFerryNotice... notices)Notices are additional information returned that indicate issues that occurred during route calculation.RouteFerryLegDetails.BuilderpassThroughWaypoints(Collection<RoutePassThroughWaypoint> passThroughWaypoints)Waypoints that were passed through during the leg.RouteFerryLegDetails.BuilderpassThroughWaypoints(Consumer<RoutePassThroughWaypoint.Builder>... passThroughWaypoints)Waypoints that were passed through during the leg.RouteFerryLegDetails.BuilderpassThroughWaypoints(RoutePassThroughWaypoint... passThroughWaypoints)Waypoints that were passed through during the leg.RouteFerryLegDetails.BuilderrouteName(String routeName)Route name of the ferry line.RouteFerryLegDetails.Builderspans(Collection<RouteFerrySpan> spans)Spans that were computed for the requested SpanAdditionalFeatures.RouteFerryLegDetails.Builderspans(Consumer<RouteFerrySpan.Builder>... spans)Spans that were computed for the requested SpanAdditionalFeatures.RouteFerryLegDetails.Builderspans(RouteFerrySpan... spans)Spans that were computed for the requested SpanAdditionalFeatures.default RouteFerryLegDetails.Buildersummary(Consumer<RouteFerrySummary.Builder> summary)Summarized details of the leg.RouteFerryLegDetails.Buildersummary(RouteFerrySummary summary)Summarized details of the leg.RouteFerryLegDetails.BuildertravelSteps(Collection<RouteFerryTravelStep> travelSteps)Steps of a leg that must be performed before the travel portion of the leg.RouteFerryLegDetails.BuildertravelSteps(Consumer<RouteFerryTravelStep.Builder>... travelSteps)Steps of a leg that must be performed before the travel portion of the leg.RouteFerryLegDetails.BuildertravelSteps(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 Detail
-
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
RouteFerryLegDetails.Builder afterTravelSteps(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
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.Builderavoiding the need to create one manually viaRouteFerryAfterTravelStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#afterTravelSteps(List.) - 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:
#afterTravelSteps(java.util.Collection)
-
arrival
RouteFerryLegDetails.Builder arrival(RouteFerryArrival 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 RouteFerryLegDetails.Builder arrival(Consumer<RouteFerryArrival.Builder> arrival)
Details corresponding to the arrival for the leg.
This is a convenience method that creates an instance of theRouteFerryArrival.Builderavoiding the need to create one manually viaRouteFerryArrival.builder().When the
Consumercompletes,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:
arrival(RouteFerryArrival)
-
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
RouteFerryLegDetails.Builder beforeTravelSteps(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
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.Builderavoiding the need to create one manually viaRouteFerryBeforeTravelStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#beforeTravelSteps(List.) - 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:
#beforeTravelSteps(java.util.Collection)
-
departure
RouteFerryLegDetails.Builder departure(RouteFerryDeparture 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 RouteFerryLegDetails.Builder departure(Consumer<RouteFerryDeparture.Builder> departure)
Details corresponding to the departure for the leg.
This is a convenience method that creates an instance of theRouteFerryDeparture.Builderavoiding the need to create one manually viaRouteFerryDeparture.builder().When the
Consumercompletes,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:
departure(RouteFerryDeparture)
-
notices
RouteFerryLegDetails.Builder notices(Collection<RouteFerryNotice> 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
RouteFerryLegDetails.Builder notices(RouteFerryNotice... 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
RouteFerryLegDetails.Builder notices(Consumer<RouteFerryNotice.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 theRouteFerryNotice.Builderavoiding the need to create one manually viaRouteFerryNotice.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 onRouteFerryNotice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#notices(java.util.Collection)
-
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
RouteFerryLegDetails.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
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.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)
-
routeName
RouteFerryLegDetails.Builder routeName(String 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
RouteFerryLegDetails.Builder spans(Collection<RouteFerrySpan> 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
RouteFerryLegDetails.Builder spans(RouteFerrySpan... 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
RouteFerryLegDetails.Builder spans(Consumer<RouteFerrySpan.Builder>... spans)
Spans that were computed for the requested SpanAdditionalFeatures.
This is a convenience method that creates an instance of theRouteFerrySpan.Builderavoiding the need to create one manually viaRouteFerrySpan.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 onRouteFerrySpan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#spans(java.util.Collection)
-
summary
RouteFerryLegDetails.Builder summary(RouteFerrySummary 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 RouteFerryLegDetails.Builder summary(Consumer<RouteFerrySummary.Builder> summary)
Summarized details of the leg.
This is a convenience method that creates an instance of theRouteFerrySummary.Builderavoiding the need to create one manually viaRouteFerrySummary.builder().When the
Consumercompletes,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:
summary(RouteFerrySummary)
-
travelSteps
RouteFerryLegDetails.Builder travelSteps(Collection<RouteFerryTravelStep> 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
RouteFerryLegDetails.Builder travelSteps(RouteFerryTravelStep... 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
RouteFerryLegDetails.Builder travelSteps(Consumer<RouteFerryTravelStep.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 theRouteFerryTravelStep.Builderavoiding the need to create one manually viaRouteFerryTravelStep.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 onRouteFerryTravelStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#travelSteps(java.util.Collection)
-
-