Interface RouteTaxiArrival.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTaxiArrival.Builder,,RouteTaxiArrival> SdkBuilder<RouteTaxiArrival.Builder,,RouteTaxiArrival> SdkPojo
- Enclosing class:
RouteTaxiArrival
@Mutable
@NotThreadSafe
public static interface RouteTaxiArrival.Builder
extends SdkPojo, CopyableBuilder<RouteTaxiArrival.Builder,RouteTaxiArrival>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteTaxiArrival.Builderplace(Consumer<RouteTaxiPlace.Builder> place) Place details corresponding to the arrival.place(RouteTaxiPlace place) Place details corresponding to 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
-
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 theRouteTaxiPlace.Builderavoiding the need to create one manually viaRouteTaxiPlace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplace(RouteTaxiPlace).- Parameters:
place- a consumer that will call methods onRouteTaxiPlace.Builder- 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.
-