Interface RouteTransitArrival.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTransitArrival.Builder,,RouteTransitArrival> SdkBuilder<RouteTransitArrival.Builder,,RouteTransitArrival> SdkPojo
- Enclosing class:
RouteTransitArrival
@Mutable
@NotThreadSafe
public static interface RouteTransitArrival.Builder
extends SdkPojo, CopyableBuilder<RouteTransitArrival.Builder,RouteTransitArrival>
-
Method Summary
Modifier and TypeMethodDescriptionThe delay from the scheduled arrival time.default RouteTransitArrival.Builderplace(Consumer<RouteTransitPlace.Builder> place) Place details corresponding to the arrival.place(RouteTransitPlace place) Place details corresponding to the arrival.The status of the arrival.status(RouteTransitTripStatus status) The status of the arrival.The arrival 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 arrival time.
Unit:
seconds- Parameters:
delay- The delay from the scheduled arrival time.Unit:
seconds- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
place
Place details corresponding to the arrival.
- Parameters:
place- Place details corresponding to the arrival.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
place
Place details corresponding to the arrival.
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 arrival.
- Parameters:
status- The status of the arrival.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the arrival.
- Parameters:
status- The status of the arrival.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
time
The arrival time.
- Parameters:
time- The arrival time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-