Interface RouteTransitDeparture.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTransitDeparture.Builder,,RouteTransitDeparture> SdkBuilder<RouteTransitDeparture.Builder,,RouteTransitDeparture> SdkPojo
- Enclosing class:
RouteTransitDeparture
@Mutable
@NotThreadSafe
public static interface RouteTransitDeparture.Builder
extends SdkPojo, CopyableBuilder<RouteTransitDeparture.Builder,RouteTransitDeparture>
-
Method Summary
Modifier and TypeMethodDescriptionThe delay from the scheduled departure time.default RouteTransitDeparture.Builderplace(Consumer<RouteTransitPlace.Builder> place) Place details corresponding to the departure.place(RouteTransitPlace place) Place details corresponding to the departure.The status of the departure.status(RouteTransitTripStatus status) The status of the departure.The departure time.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
-
delay
The delay from the scheduled departure time.
Unit:
seconds- Parameters:
delay- The delay from the scheduled departure time.Unit:
seconds- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
place
Place details corresponding to the departure.
- Parameters:
place- Place details corresponding to the departure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
place
Place details corresponding to the departure.
This is a convenience method that creates an instance of theRouteTransitPlace.Builderavoiding the need to create one manually viaRouteTransitPlace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplace(RouteTransitPlace).- Parameters:
place- a consumer that will call methods onRouteTransitPlace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the departure.
- Parameters:
status- The status of the departure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the departure.
- Parameters:
status- The status of the departure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
time
The departure time.
- Parameters:
time- The departure time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-