Interface RouteFerryDeparture.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteFerryDeparture.Builder,RouteFerryDeparture>,SdkBuilder<RouteFerryDeparture.Builder,RouteFerryDeparture>,SdkPojo
- Enclosing class:
- RouteFerryDeparture
public static interface RouteFerryDeparture.Builder extends SdkPojo, CopyableBuilder<RouteFerryDeparture.Builder,RouteFerryDeparture>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RouteFerryDeparture.Builderplace(Consumer<RouteFerryPlace.Builder> place)The place details.RouteFerryDeparture.Builderplace(RouteFerryPlace place)The place details.RouteFerryDeparture.Buildertime(String time)The time.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
place
RouteFerryDeparture.Builder place(RouteFerryPlace 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
default RouteFerryDeparture.Builder place(Consumer<RouteFerryPlace.Builder> 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:
place(RouteFerryPlace)
-
time
RouteFerryDeparture.Builder time(String time)
The time.
- Parameters:
time- The time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-