Class WaypointOptimizationClusteringOptions
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.WaypointOptimizationClusteringOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WaypointOptimizationClusteringOptions.Builder,WaypointOptimizationClusteringOptions>
@Generated("software.amazon.awssdk:codegen") public final class WaypointOptimizationClusteringOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WaypointOptimizationClusteringOptions.Builder,WaypointOptimizationClusteringOptions>
Options for WaypointOptimizationClustering.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWaypointOptimizationClusteringOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WaypointOptimizationClusteringAlgorithmalgorithm()The algorithm to be used.StringalgorithmAsString()The algorithm to be used.static WaypointOptimizationClusteringOptions.Builderbuilder()WaypointOptimizationDrivingDistanceOptionsdrivingDistanceOptions()Driving distance options to be used when the clustering algorithm is DrivingDistance.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WaypointOptimizationClusteringOptions.Builder>serializableBuilderClass()WaypointOptimizationClusteringOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
algorithm
public final 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.If the service returns an enum value that is not available in the current SDK version,
algorithmwill returnWaypointOptimizationClusteringAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalgorithmAsString().- Returns:
- 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. - See Also:
WaypointOptimizationClusteringAlgorithm
-
algorithmAsString
public final String algorithmAsString()
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.If the service returns an enum value that is not available in the current SDK version,
algorithmwill returnWaypointOptimizationClusteringAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalgorithmAsString().- Returns:
- 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. - See Also:
WaypointOptimizationClusteringAlgorithm
-
drivingDistanceOptions
public final WaypointOptimizationDrivingDistanceOptions drivingDistanceOptions()
Driving distance options to be used when the clustering algorithm is DrivingDistance.
- Returns:
- Driving distance options to be used when the clustering algorithm is DrivingDistance.
-
toBuilder
public WaypointOptimizationClusteringOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WaypointOptimizationClusteringOptions.Builder,WaypointOptimizationClusteringOptions>
-
builder
public static WaypointOptimizationClusteringOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends WaypointOptimizationClusteringOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-