Class RouteMatrixMatchingOptions
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.RouteMatrixMatchingOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RouteMatrixMatchingOptions.Builder,RouteMatrixMatchingOptions>
@Generated("software.amazon.awssdk:codegen") public final class RouteMatrixMatchingOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteMatrixMatchingOptions.Builder,RouteMatrixMatchingOptions>
Matching options.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRouteMatrixMatchingOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RouteMatrixMatchingOptions.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 RouteMatrixMatchingOptions.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.RouteMatrixMatchingOptions.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 RouteMatrixMatchingOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RouteMatrixMatchingOptions.Builder,RouteMatrixMatchingOptions>
-
builder
public static RouteMatrixMatchingOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends RouteMatrixMatchingOptions.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
-
-