Class IsolineMatchingOptions
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.IsolineMatchingOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IsolineMatchingOptions.Builder,IsolineMatchingOptions>
@Generated("software.amazon.awssdk:codegen") public final class IsolineMatchingOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IsolineMatchingOptions.Builder,IsolineMatchingOptions>
Isoline matching related options.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIsolineMatchingOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IsolineMatchingOptions.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnameHint()Attempts to match the provided position to a road similar to the provided name.LongonRoadThreshold()If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.Longradius()Considers all roads within the provided radius to match the provided destination to.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IsolineMatchingOptions.Builder>serializableBuilderClass()MatchingStrategystrategy()Strategy that defines matching of the position onto the road network.StringstrategyAsString()Strategy that defines matching of the position onto the road network.IsolineMatchingOptions.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
-
nameHint
public final String nameHint()
Attempts to match the provided position to a road similar to the provided name.
- Returns:
- Attempts to match the provided position to a road similar to the provided name.
-
onRoadThreshold
public final Long onRoadThreshold()
If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.
Unit:
meters- Returns:
- If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to
the highway/bridge/tunnel/sliproad.
Unit:
meters
-
radius
public final Long radius()
Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.
Unit:
Meters- Returns:
- Considers all roads within the provided radius to match the provided destination to. The roads that are
considered are determined by the provided Strategy.
Unit:
Meters
-
strategy
public final MatchingStrategy strategy()
Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.
If the service returns an enum value that is not available in the current SDK version,
strategywill returnMatchingStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstrategyAsString().- Returns:
- Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.
- See Also:
MatchingStrategy
-
strategyAsString
public final String strategyAsString()
Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.
If the service returns an enum value that is not available in the current SDK version,
strategywill returnMatchingStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstrategyAsString().- Returns:
- Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.
- See Also:
MatchingStrategy
-
toBuilder
public IsolineMatchingOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IsolineMatchingOptions.Builder,IsolineMatchingOptions>
-
builder
public static IsolineMatchingOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends IsolineMatchingOptions.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
-
-