Interface RouteTransitIntermediateStop.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTransitIntermediateStop.Builder,,RouteTransitIntermediateStop> SdkBuilder<RouteTransitIntermediateStop.Builder,,RouteTransitIntermediateStop> SdkPojo
- Enclosing class:
RouteTransitIntermediateStop
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<RouteTransitIntermediateStopAttribute> attributes) Attributes of the intermediate stop.attributes(RouteTransitIntermediateStopAttribute... attributes) Attributes of the intermediate stop.attributesWithStrings(String... attributes) Attributes of the intermediate stop.attributesWithStrings(Collection<String> attributes) Attributes of the intermediate stop.departure(Consumer<RouteTransitDeparture.Builder> departure) Departure details for the intermediate stop.departure(RouteTransitDeparture departure) Departure details for the intermediate stop.Duration of the stop.geometryOffset(Integer geometryOffset) Offset in the leg geometry corresponding to the start of this stop.Transport mode details at the intermediate stop.transport(RouteTransitTransportModeDetails transport) Transport mode details at the intermediate stop.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
-
attributesWithStrings
Attributes of the intermediate stop.
- Parameters:
attributes- Attributes of the intermediate stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesWithStrings
Attributes of the intermediate stop.
- Parameters:
attributes- Attributes of the intermediate stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
RouteTransitIntermediateStop.Builder attributes(Collection<RouteTransitIntermediateStopAttribute> attributes) Attributes of the intermediate stop.
- Parameters:
attributes- Attributes of the intermediate stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
RouteTransitIntermediateStop.Builder attributes(RouteTransitIntermediateStopAttribute... attributes) Attributes of the intermediate stop.
- Parameters:
attributes- Attributes of the intermediate stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
departure
Departure details for the intermediate stop.
- Parameters:
departure- Departure details for the intermediate stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
departure
default RouteTransitIntermediateStop.Builder departure(Consumer<RouteTransitDeparture.Builder> departure) Departure details for the intermediate stop.
This is a convenience method that creates an instance of theRouteTransitDeparture.Builderavoiding the need to create one manually viaRouteTransitDeparture.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeparture(RouteTransitDeparture).- Parameters:
departure- a consumer that will call methods onRouteTransitDeparture.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
duration
Duration of the stop.
Unit:
seconds- Parameters:
duration- Duration of the stop.Unit:
seconds- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometryOffset
Offset in the leg geometry corresponding to the start of this stop.
- Parameters:
geometryOffset- Offset in the leg geometry corresponding to the start of this stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transport
Transport mode details at the intermediate stop.
- Parameters:
transport- Transport mode details at the intermediate stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transport
default RouteTransitIntermediateStop.Builder transport(Consumer<RouteTransitTransportModeDetails.Builder> transport) Transport mode details at the intermediate stop.
This is a convenience method that creates an instance of theRouteTransitTransportModeDetails.Builderavoiding the need to create one manually viaRouteTransitTransportModeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransport(RouteTransitTransportModeDetails).- Parameters:
transport- a consumer that will call methods onRouteTransitTransportModeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-