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