Interface WaypointOptimizationDestinationOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WaypointOptimizationDestinationOptions.Builder,WaypointOptimizationDestinationOptions>,SdkBuilder<WaypointOptimizationDestinationOptions.Builder,WaypointOptimizationDestinationOptions>,SdkPojo
- Enclosing class:
- WaypointOptimizationDestinationOptions
public static interface WaypointOptimizationDestinationOptions.Builder extends SdkPojo, CopyableBuilder<WaypointOptimizationDestinationOptions.Builder,WaypointOptimizationDestinationOptions>
-
-
Method Summary
-
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
-
accessHours
WaypointOptimizationDestinationOptions.Builder accessHours(WaypointOptimizationAccessHours accessHours)
Access hours corresponding to when a waypoint can be visited.
- Parameters:
accessHours- Access hours corresponding to when a waypoint can be visited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessHours
default WaypointOptimizationDestinationOptions.Builder accessHours(Consumer<WaypointOptimizationAccessHours.Builder> accessHours)
Access hours corresponding to when a waypoint can be visited.
This is a convenience method that creates an instance of theWaypointOptimizationAccessHours.Builderavoiding the need to create one manually viaWaypointOptimizationAccessHours.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessHours(WaypointOptimizationAccessHours).- Parameters:
accessHours- a consumer that will call methods onWaypointOptimizationAccessHours.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accessHours(WaypointOptimizationAccessHours)
-
appointmentTime
WaypointOptimizationDestinationOptions.Builder appointmentTime(String appointmentTime)
Appointment time at the destination.
- Parameters:
appointmentTime- Appointment time at the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
heading
WaypointOptimizationDestinationOptions.Builder heading(Double heading)
GPS Heading at the position.
- Parameters:
heading- GPS Heading at the position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
WaypointOptimizationDestinationOptions.Builder id(String id)
The waypoint Id.
- Parameters:
id- The waypoint Id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceDuration
WaypointOptimizationDestinationOptions.Builder serviceDuration(Long serviceDuration)
Service time spent at the destination. At an appointment, the service time should be the appointment duration.
Unit:
seconds- Parameters:
serviceDuration- Service time spent at the destination. At an appointment, the service time should be the appointment duration.Unit:
seconds- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sideOfStreet
WaypointOptimizationDestinationOptions.Builder sideOfStreet(WaypointOptimizationSideOfStreetOptions sideOfStreet)
Options to configure matching the provided position to a side of the street.
- Parameters:
sideOfStreet- Options to configure matching the provided position to a side of the street.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sideOfStreet
default WaypointOptimizationDestinationOptions.Builder sideOfStreet(Consumer<WaypointOptimizationSideOfStreetOptions.Builder> sideOfStreet)
Options to configure matching the provided position to a side of the street.
This is a convenience method that creates an instance of theWaypointOptimizationSideOfStreetOptions.Builderavoiding the need to create one manually viaWaypointOptimizationSideOfStreetOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosideOfStreet(WaypointOptimizationSideOfStreetOptions).- Parameters:
sideOfStreet- a consumer that will call methods onWaypointOptimizationSideOfStreetOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sideOfStreet(WaypointOptimizationSideOfStreetOptions)
-
-