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