Interface WaypointOptimizationClusteringOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WaypointOptimizationClusteringOptions.Builder,,WaypointOptimizationClusteringOptions> SdkBuilder<WaypointOptimizationClusteringOptions.Builder,,WaypointOptimizationClusteringOptions> SdkPojo
- Enclosing class:
WaypointOptimizationClusteringOptions
-
Method Summary
Modifier and TypeMethodDescriptionThe algorithm to be used.algorithm(WaypointOptimizationClusteringAlgorithm algorithm) The algorithm to be used.drivingDistanceOptions(Consumer<WaypointOptimizationDrivingDistanceOptions.Builder> drivingDistanceOptions) Driving distance options to be used when the clustering algorithm is DrivingDistance.drivingDistanceOptions(WaypointOptimizationDrivingDistanceOptions drivingDistanceOptions) Driving distance options to be used when the clustering algorithm is DrivingDistance.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
-
algorithm
The algorithm to be used.
DrivingDistanceassigns all the waypoints that are within driving distance of each other into a single cluster.TopologySegmentassigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.- Parameters:
algorithm- The algorithm to be used.DrivingDistanceassigns all the waypoints that are within driving distance of each other into a single cluster.TopologySegmentassigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
algorithm
WaypointOptimizationClusteringOptions.Builder algorithm(WaypointOptimizationClusteringAlgorithm algorithm) The algorithm to be used.
DrivingDistanceassigns all the waypoints that are within driving distance of each other into a single cluster.TopologySegmentassigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.- Parameters:
algorithm- The algorithm to be used.DrivingDistanceassigns all the waypoints that are within driving distance of each other into a single cluster.TopologySegmentassigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
drivingDistanceOptions
WaypointOptimizationClusteringOptions.Builder drivingDistanceOptions(WaypointOptimizationDrivingDistanceOptions drivingDistanceOptions) Driving distance options to be used when the clustering algorithm is DrivingDistance.
- Parameters:
drivingDistanceOptions- Driving distance options to be used when the clustering algorithm is DrivingDistance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
drivingDistanceOptions
default WaypointOptimizationClusteringOptions.Builder drivingDistanceOptions(Consumer<WaypointOptimizationDrivingDistanceOptions.Builder> drivingDistanceOptions) Driving distance options to be used when the clustering algorithm is DrivingDistance.
This is a convenience method that creates an instance of theWaypointOptimizationDrivingDistanceOptions.Builderavoiding the need to create one manually viaWaypointOptimizationDrivingDistanceOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todrivingDistanceOptions(WaypointOptimizationDrivingDistanceOptions).- Parameters:
drivingDistanceOptions- a consumer that will call methods onWaypointOptimizationDrivingDistanceOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-