Class WaypointOptimizationConnection
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.WaypointOptimizationConnection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WaypointOptimizationConnection.Builder,WaypointOptimizationConnection>
@Generated("software.amazon.awssdk:codegen") public final class WaypointOptimizationConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WaypointOptimizationConnection.Builder,WaypointOptimizationConnection>
This contains information such as distance and duration from one waypoint to the next waypoint in the sequence.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWaypointOptimizationConnection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WaypointOptimizationConnection.Builderbuilder()Longdistance()Distance of the step.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfrom()contains the ID of the starting waypoint in this connection.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongrestDuration()Resting time before the driver can continue driving.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WaypointOptimizationConnection.Builder>serializableBuilderClass()Stringto()Contains the ID of the ending waypoint in this connection.WaypointOptimizationConnection.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtravelDuration()Total duration.LongwaitDuration()Duration of a wait step.-
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
-
distance
public final Long distance()
Distance of the step.
- Returns:
- Distance of the step.
-
from
public final String from()
contains the ID of the starting waypoint in this connection.
- Returns:
- contains the ID of the starting waypoint in this connection.
-
restDuration
public final Long restDuration()
Resting time before the driver can continue driving.
- Returns:
- Resting time before the driver can continue driving.
-
to
public final String to()
Contains the ID of the ending waypoint in this connection.
- Returns:
- Contains the ID of the ending waypoint in this connection.
-
travelDuration
public final Long travelDuration()
Total duration.
Unit:
seconds- Returns:
- Total duration.
Unit:
seconds
-
waitDuration
public final Long waitDuration()
Duration of a wait step.
Unit:
seconds- Returns:
- Duration of a wait step.
Unit:
seconds
-
toBuilder
public WaypointOptimizationConnection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WaypointOptimizationConnection.Builder,WaypointOptimizationConnection>
-
builder
public static WaypointOptimizationConnection.Builder builder()
-
serializableBuilderClass
public static Class<? extends WaypointOptimizationConnection.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
-
-