Interface RouteFerryDeparture.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteFerryDeparture.Builder,,RouteFerryDeparture> SdkBuilder<RouteFerryDeparture.Builder,,RouteFerryDeparture> SdkPojo
- Enclosing class:
RouteFerryDeparture
@Mutable
@NotThreadSafe
public static interface RouteFerryDeparture.Builder
extends SdkPojo, CopyableBuilder<RouteFerryDeparture.Builder,RouteFerryDeparture>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteFerryDeparture.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.
-