Interface WaypointOptimizationDestinationOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WaypointOptimizationDestinationOptions.Builder,,WaypointOptimizationDestinationOptions> SdkBuilder<WaypointOptimizationDestinationOptions.Builder,,WaypointOptimizationDestinationOptions> SdkPojo
- Enclosing class:
WaypointOptimizationDestinationOptions
-
Method Summary
Modifier and TypeMethodDescriptionaccessHours(Consumer<WaypointOptimizationAccessHours.Builder> accessHours) Access hours corresponding to when a waypoint can be visited.accessHours(WaypointOptimizationAccessHours accessHours) Access hours corresponding to when a waypoint can be visited.appointmentTime(String appointmentTime) Appointment time at the destination.GPS Heading at the position.The waypoint Id.serviceDuration(Long serviceDuration) Service time spent at the destination.sideOfStreet(Consumer<WaypointOptimizationSideOfStreetOptions.Builder> sideOfStreet) Options to configure matching the provided position to a side of the street.sideOfStreet(WaypointOptimizationSideOfStreetOptions sideOfStreet) Options to configure matching the provided position to a side of the street.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
-
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:
-
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
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
The waypoint Id.
- Parameters:
id- The waypoint Id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-