Interface RoadSnapTravelModeOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RoadSnapTravelModeOptions.Builder,,RoadSnapTravelModeOptions> SdkBuilder<RoadSnapTravelModeOptions.Builder,,RoadSnapTravelModeOptions> SdkPojo
- Enclosing class:
RoadSnapTravelModeOptions
@Mutable
@NotThreadSafe
public static interface RoadSnapTravelModeOptions.Builder
extends SdkPojo, CopyableBuilder<RoadSnapTravelModeOptions.Builder,RoadSnapTravelModeOptions>
-
Method Summary
Modifier and TypeMethodDescriptionTravel mode options when the provided travel mode is "Truck".truck(RoadSnapTruckOptions truck) Travel mode options when the provided travel mode is "Truck".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
-
truck
Travel mode options when the provided travel mode is "Truck".
- Parameters:
truck- Travel mode options when the provided travel mode is "Truck".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
truck
Travel mode options when the provided travel mode is "Truck".
This is a convenience method that creates an instance of theRoadSnapTruckOptions.Builderavoiding the need to create one manually viaRoadSnapTruckOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totruck(RoadSnapTruckOptions).- Parameters:
truck- a consumer that will call methods onRoadSnapTruckOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-