Interface RouteFerryArrival.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteFerryArrival.Builder,,RouteFerryArrival> SdkBuilder<RouteFerryArrival.Builder,,RouteFerryArrival> SdkPojo
- Enclosing class:
RouteFerryArrival
@Mutable
@NotThreadSafe
public static interface RouteFerryArrival.Builder
extends SdkPojo, CopyableBuilder<RouteFerryArrival.Builder,RouteFerryArrival>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteFerryArrival.Builderplace(Consumer<RouteFerryPlace.Builder> place) The place details.place(RouteFerryPlace place) The place details.The 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
The place details.
- Parameters:
place- The place details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
place
The place details.
This is a convenience method that creates an instance of theRouteFerryPlace.Builderavoiding the need to create one manually viaRouteFerryPlace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplace(RouteFerryPlace).- Parameters:
place- a consumer that will call methods onRouteFerryPlace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
time
The time.
- Parameters:
time- The time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-