Interface RouteTaxiLegDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTaxiLegDetails.Builder,,RouteTaxiLegDetails> SdkBuilder<RouteTaxiLegDetails.Builder,,RouteTaxiLegDetails> SdkPojo
- Enclosing class:
RouteTaxiLegDetails
-
Method Summary
Modifier and TypeMethodDescriptionafterTravelSteps(Collection<RouteTaxiAfterTravelStep> afterTravelSteps) Steps of a leg that must be performed after the travel portion of the leg.afterTravelSteps(Consumer<RouteTaxiAfterTravelStep.Builder>... afterTravelSteps) Steps of a leg that must be performed after the travel portion of the leg.afterTravelSteps(RouteTaxiAfterTravelStep... afterTravelSteps) Steps of a leg that must be performed after the travel portion of the leg.default RouteTaxiLegDetails.Builderagency(Consumer<RouteTaxiAgency.Builder> agency) Details about the taxi agency.agency(RouteTaxiAgency agency) Details about the taxi agency.default RouteTaxiLegDetails.Builderarrival(Consumer<RouteTaxiArrival.Builder> arrival) Details corresponding to the arrival for the leg.arrival(RouteTaxiArrival arrival) Details corresponding to the arrival for the leg.attributions(Collection<RouteAttribution> attributions) List of required attributions to display.attributions(Consumer<RouteAttribution.Builder>... attributions) List of required attributions to display.attributions(RouteAttribution... attributions) List of required attributions to display.beforeTravelSteps(Collection<RouteTaxiBeforeTravelStep> beforeTravelSteps) Steps of a leg that must be performed before the travel portion of the leg.beforeTravelSteps(Consumer<RouteTaxiBeforeTravelStep.Builder>... beforeTravelSteps) Steps of a leg that must be performed before the travel portion of the leg.beforeTravelSteps(RouteTaxiBeforeTravelStep... beforeTravelSteps) Steps of a leg that must be performed before the travel portion of the leg.bookingWebLinks(Collection<RouteWebLink> bookingWebLinks) Web links to external ticket booking services for the taxi.bookingWebLinks(Consumer<RouteWebLink.Builder>... bookingWebLinks) Web links to external ticket booking services for the taxi.bookingWebLinks(RouteWebLink... bookingWebLinks) Web links to external ticket booking services for the taxi.default RouteTaxiLegDetails.Builderdeparture(Consumer<RouteTaxiDeparture.Builder> departure) Details corresponding to the departure for the leg.departure(RouteTaxiDeparture departure) Details corresponding to the departure for the leg.notices(Collection<RouteTaxiNotice> notices) List of notices that indicate issues that occurred during route calculation.notices(Consumer<RouteTaxiNotice.Builder>... notices) List of notices that indicate issues that occurred during route calculation.notices(RouteTaxiNotice... notices) List of notices that indicate issues that occurred during route calculation.default RouteTaxiLegDetails.Buildersummary(Consumer<RouteTaxiSummary.Builder> summary) Summary of the taxi leg.summary(RouteTaxiSummary summary) Summary of the taxi leg.default RouteTaxiLegDetails.Buildertransport(Consumer<RouteTaxiTransportModeDetails.Builder> transport) Transport mode details for the taxi leg.transport(RouteTaxiTransportModeDetails transport) Transport mode details for the taxi leg.travelSteps(Collection<RouteTaxiTravelStep> travelSteps) Steps of a leg that must be performed during the travel portion of the leg.travelSteps(Consumer<RouteTaxiTravelStep.Builder>... travelSteps) Steps of a leg that must be performed during the travel portion of the leg.travelSteps(RouteTaxiTravelStep... travelSteps) Steps of a leg that must be performed during the travel portion of the leg.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
RouteTaxiLegDetails.Builder afterTravelSteps(Consumer<RouteTaxiAfterTravelStep.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 theRouteTaxiAfterTravelStep.Builderavoiding the need to create one manually viaRouteTaxiAfterTravelStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toafterTravelSteps(List<RouteTaxiAfterTravelStep>).- Parameters:
afterTravelSteps- a consumer that will call methods onRouteTaxiAfterTravelStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agency
Details about the taxi agency.
- Parameters:
agency- Details about the taxi agency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agency
Details about the taxi agency.
This is a convenience method that creates an instance of theRouteTaxiAgency.Builderavoiding the need to create one manually viaRouteTaxiAgency.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagency(RouteTaxiAgency).- Parameters:
agency- a consumer that will call methods onRouteTaxiAgency.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 theRouteTaxiArrival.Builderavoiding the need to create one manually viaRouteTaxiArrival.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toarrival(RouteTaxiArrival).- Parameters:
arrival- a consumer that will call methods onRouteTaxiArrival.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributions
List of required attributions to display.
- Parameters:
attributions- List of required attributions to display.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributions
List of required attributions to display.
- Parameters:
attributions- List of required attributions to display.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributions
List of required attributions to display.
This is a convenience method that creates an instance of theRouteAttribution.Builderavoiding the need to create one manually viaRouteAttribution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributions(List<RouteAttribution>).- Parameters:
attributions- a consumer that will call methods onRouteAttribution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
beforeTravelSteps
RouteTaxiLegDetails.Builder beforeTravelSteps(Collection<RouteTaxiBeforeTravelStep> 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
RouteTaxiLegDetails.Builder beforeTravelSteps(Consumer<RouteTaxiBeforeTravelStep.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 theRouteTaxiBeforeTravelStep.Builderavoiding the need to create one manually viaRouteTaxiBeforeTravelStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobeforeTravelSteps(List<RouteTaxiBeforeTravelStep>).- Parameters:
beforeTravelSteps- a consumer that will call methods onRouteTaxiBeforeTravelStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bookingWebLinks
Web links to external ticket booking services for the taxi.
- Parameters:
bookingWebLinks- Web links to external ticket booking services for the taxi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bookingWebLinks
Web links to external ticket booking services for the taxi.
- Parameters:
bookingWebLinks- Web links to external ticket booking services for the taxi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bookingWebLinks
Web links to external ticket booking services for the taxi.
This is a convenience method that creates an instance of theRouteWebLink.Builderavoiding the need to create one manually viaRouteWebLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobookingWebLinks(List<RouteWebLink>).- Parameters:
bookingWebLinks- a consumer that will call methods onRouteWebLink.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 theRouteTaxiDeparture.Builderavoiding the need to create one manually viaRouteTaxiDeparture.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeparture(RouteTaxiDeparture).- Parameters:
departure- a consumer that will call methods onRouteTaxiDeparture.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notices
List of notices that indicate issues that occurred during route calculation.
- Parameters:
notices- List of notices that indicate issues that occurred during route calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notices
List of notices that indicate issues that occurred during route calculation.
- Parameters:
notices- List of notices that indicate issues that occurred during route calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notices
List of notices that indicate issues that occurred during route calculation.
This is a convenience method that creates an instance of theRouteTaxiNotice.Builderavoiding the need to create one manually viaRouteTaxiNotice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotices(List<RouteTaxiNotice>).- Parameters:
notices- a consumer that will call methods onRouteTaxiNotice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
Summary of the taxi leg.
- Parameters:
summary- Summary of the taxi leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
Summary of the taxi leg.
This is a convenience method that creates an instance of theRouteTaxiSummary.Builderavoiding the need to create one manually viaRouteTaxiSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(RouteTaxiSummary).- Parameters:
summary- a consumer that will call methods onRouteTaxiSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transport
Transport mode details for the taxi leg.
- Parameters:
transport- Transport mode details for the taxi leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transport
default RouteTaxiLegDetails.Builder transport(Consumer<RouteTaxiTransportModeDetails.Builder> transport) Transport mode details for the taxi leg.
This is a convenience method that creates an instance of theRouteTaxiTransportModeDetails.Builderavoiding the need to create one manually viaRouteTaxiTransportModeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransport(RouteTaxiTransportModeDetails).- Parameters:
transport- a consumer that will call methods onRouteTaxiTransportModeDetails.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 during the travel portion of the leg.
- Parameters:
travelSteps- Steps of a leg that must be performed during 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 during the travel portion of the leg.
- Parameters:
travelSteps- Steps of a leg that must be performed during 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 during the travel portion of the leg.
This is a convenience method that creates an instance of theRouteTaxiTravelStep.Builderavoiding the need to create one manually viaRouteTaxiTravelStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totravelSteps(List<RouteTaxiTravelStep>).- Parameters:
travelSteps- a consumer that will call methods onRouteTaxiTravelStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-