Interface WaypointOptimizationConnection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WaypointOptimizationConnection.Builder,
,WaypointOptimizationConnection> SdkBuilder<WaypointOptimizationConnection.Builder,
,WaypointOptimizationConnection> SdkPojo
- Enclosing class:
WaypointOptimizationConnection
@Mutable
@NotThreadSafe
public static interface WaypointOptimizationConnection.Builder
extends SdkPojo, CopyableBuilder<WaypointOptimizationConnection.Builder,WaypointOptimizationConnection>
-
Method Summary
Modifier and TypeMethodDescriptionDistance of the step.contains the ID of the starting waypoint in this connection.restDuration
(Long restDuration) Resting time before the driver can continue driving.Contains the ID of the ending waypoint in this connection.travelDuration
(Long travelDuration) Total duration.waitDuration
(Long waitDuration) Duration of a wait step.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 Details
-
distance
Distance of the step.
- Parameters:
distance
- Distance of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
from
contains the ID of the starting waypoint in this connection.
- Parameters:
from
- contains the ID of the starting waypoint in this connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restDuration
Resting time before the driver can continue driving.
- Parameters:
restDuration
- Resting time before the driver can continue driving.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
Contains the ID of the ending waypoint in this connection.
- Parameters:
to
- Contains the ID of the ending waypoint in this connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
travelDuration
Total duration.
Unit:
seconds
- Parameters:
travelDuration
- Total duration.Unit:
seconds
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
waitDuration
Duration of a wait step.
Unit:
seconds
- Parameters:
waitDuration
- Duration of a wait step.Unit:
seconds
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-