Interface RouteTaxiDeparture.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTaxiDeparture.Builder,,RouteTaxiDeparture> SdkBuilder<RouteTaxiDeparture.Builder,,RouteTaxiDeparture> SdkPojo
- Enclosing class:
RouteTaxiDeparture
@Mutable
@NotThreadSafe
public static interface RouteTaxiDeparture.Builder
extends SdkPojo, CopyableBuilder<RouteTaxiDeparture.Builder,RouteTaxiDeparture>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteTaxiDeparture.Builderplace(Consumer<RouteTaxiPlace.Builder> place) Place details corresponding to the departure.place(RouteTaxiPlace place) Place details corresponding to 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
-
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 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 departure time.
- Parameters:
time- The departure time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-