Interface RouteIntermodalOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteIntermodalOptions.Builder,,RouteIntermodalOptions> SdkBuilder<RouteIntermodalOptions.Builder,,RouteIntermodalOptions> SdkPojo
- Enclosing class:
RouteIntermodalOptions
-
Method Summary
Modifier and TypeMethodDescriptionaccessibilityAttributes(Collection<RouteAccessibilityAttribute> accessibilityAttributes) Accessibility attributes to consider when calculating the route.accessibilityAttributes(RouteAccessibilityAttribute... accessibilityAttributes) Accessibility attributes to consider when calculating the route.accessibilityAttributesWithStrings(String... accessibilityAttributes) Accessibility attributes to consider when calculating the route.accessibilityAttributesWithStrings(Collection<String> accessibilityAttributes) Accessibility attributes to consider when calculating the route.maxTransfers(Integer maxTransfers) Maximum number of transfers allowed when calculating the route.default RouteIntermodalOptions.Builderpedestrian(Consumer<RouteIntermodalPedestrianOptions.Builder> pedestrian) Options for the pedestrian leg of the intermodal route.pedestrian(RouteIntermodalPedestrianOptions pedestrian) Options for the pedestrian leg of the intermodal route.default RouteIntermodalOptions.BuilderOptions for the rental leg of the intermodal route.rental(RouteIntermodalRentalOptions rental) Options for the rental leg of the intermodal route.default RouteIntermodalOptions.BuilderOptions for the taxi leg of the intermodal route.Options for the taxi leg of the intermodal route.default RouteIntermodalOptions.BuilderOptions for the transit leg of the intermodal route.transit(RouteIntermodalTransitOptions transit) Options for the transit leg of the intermodal route.default RouteIntermodalOptions.BuilderOptions for the vehicle leg of the intermodal route.vehicle(RouteIntermodalVehicleOptions vehicle) Options for the vehicle leg of the intermodal route.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
-
accessibilityAttributesWithStrings
RouteIntermodalOptions.Builder accessibilityAttributesWithStrings(Collection<String> accessibilityAttributes) Accessibility attributes to consider when calculating the route.
- Parameters:
accessibilityAttributes- Accessibility attributes to consider when calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessibilityAttributesWithStrings
RouteIntermodalOptions.Builder accessibilityAttributesWithStrings(String... accessibilityAttributes) Accessibility attributes to consider when calculating the route.
- Parameters:
accessibilityAttributes- Accessibility attributes to consider when calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessibilityAttributes
RouteIntermodalOptions.Builder accessibilityAttributes(Collection<RouteAccessibilityAttribute> accessibilityAttributes) Accessibility attributes to consider when calculating the route.
- Parameters:
accessibilityAttributes- Accessibility attributes to consider when calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessibilityAttributes
RouteIntermodalOptions.Builder accessibilityAttributes(RouteAccessibilityAttribute... accessibilityAttributes) Accessibility attributes to consider when calculating the route.
- Parameters:
accessibilityAttributes- Accessibility attributes to consider when calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxTransfers
Maximum number of transfers allowed when calculating the route.
- Parameters:
maxTransfers- Maximum number of transfers allowed when calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pedestrian
Options for the pedestrian leg of the intermodal route.
- Parameters:
pedestrian- Options for the pedestrian leg of the intermodal route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pedestrian
default RouteIntermodalOptions.Builder pedestrian(Consumer<RouteIntermodalPedestrianOptions.Builder> pedestrian) Options for the pedestrian leg of the intermodal route.
This is a convenience method that creates an instance of theRouteIntermodalPedestrianOptions.Builderavoiding the need to create one manually viaRouteIntermodalPedestrianOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topedestrian(RouteIntermodalPedestrianOptions).- Parameters:
pedestrian- a consumer that will call methods onRouteIntermodalPedestrianOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rental
Options for the rental leg of the intermodal route.
- Parameters:
rental- Options for the rental leg of the intermodal route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rental
default RouteIntermodalOptions.Builder rental(Consumer<RouteIntermodalRentalOptions.Builder> rental) Options for the rental leg of the intermodal route.
This is a convenience method that creates an instance of theRouteIntermodalRentalOptions.Builderavoiding the need to create one manually viaRouteIntermodalRentalOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torental(RouteIntermodalRentalOptions).- Parameters:
rental- a consumer that will call methods onRouteIntermodalRentalOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taxi
Options for the taxi leg of the intermodal route.
- Parameters:
taxi- Options for the taxi leg of the intermodal route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxi
Options for the taxi leg of the intermodal route.
This is a convenience method that creates an instance of theRouteIntermodalTaxiOptions.Builderavoiding the need to create one manually viaRouteIntermodalTaxiOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaxi(RouteIntermodalTaxiOptions).- Parameters:
taxi- a consumer that will call methods onRouteIntermodalTaxiOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transit
Options for the transit leg of the intermodal route.
- Parameters:
transit- Options for the transit leg of the intermodal route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transit
default RouteIntermodalOptions.Builder transit(Consumer<RouteIntermodalTransitOptions.Builder> transit) Options for the transit leg of the intermodal route.
This is a convenience method that creates an instance of theRouteIntermodalTransitOptions.Builderavoiding the need to create one manually viaRouteIntermodalTransitOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransit(RouteIntermodalTransitOptions).- Parameters:
transit- a consumer that will call methods onRouteIntermodalTransitOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vehicle
Options for the vehicle leg of the intermodal route.
- Parameters:
vehicle- Options for the vehicle leg of the intermodal route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vehicle
default RouteIntermodalOptions.Builder vehicle(Consumer<RouteIntermodalVehicleOptions.Builder> vehicle) Options for the vehicle leg of the intermodal route.
This is a convenience method that creates an instance of theRouteIntermodalVehicleOptions.Builderavoiding the need to create one manually viaRouteIntermodalVehicleOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovehicle(RouteIntermodalVehicleOptions).- Parameters:
vehicle- a consumer that will call methods onRouteIntermodalVehicleOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-