Class PolylineCorridor
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.PolylineCorridor
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PolylineCorridor.Builder,PolylineCorridor>
@Generated("software.amazon.awssdk:codegen") public final class PolylineCorridor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolylineCorridor.Builder,PolylineCorridor>
Geometry defined as an encoded corridor - an encoded polyline with a radius that defines the width of the corridor.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePolylineCorridor.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolylineCorridor.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpolyline()An ordered list of positions used to plot a route on a map in a lossy compression format.Integerradius()Considers all roads within the provided radius to match the provided destination to.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PolylineCorridor.Builder>serializableBuilderClass()PolylineCorridor.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
-
polyline
public final String polyline()
An ordered list of positions used to plot a route on a map in a lossy compression format.
LineString and Polyline are mutually exclusive properties.
- Returns:
- An ordered list of positions used to plot a route on a map in a lossy compression format.
LineString and Polyline are mutually exclusive properties.
-
radius
public final Integer 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
-
toBuilder
public PolylineCorridor.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PolylineCorridor.Builder,PolylineCorridor>
-
builder
public static PolylineCorridor.Builder builder()
-
serializableBuilderClass
public static Class<? extends PolylineCorridor.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
-
-