Interface RouteMatrixEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteMatrixEntry.Builder,
,RouteMatrixEntry> SdkBuilder<RouteMatrixEntry.Builder,
,RouteMatrixEntry> SdkPojo
- Enclosing class:
RouteMatrixEntry
@Mutable
@NotThreadSafe
public static interface RouteMatrixEntry.Builder
extends SdkPojo, CopyableBuilder<RouteMatrixEntry.Builder,RouteMatrixEntry>
-
Method Summary
Modifier and TypeMethodDescriptionThe total distance of travel for the route.The expected duration of travel for the route.Error code that occurred during calculation of the route.error
(RouteMatrixErrorCode error) Error code that occurred during calculation of the route.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
distance
The total distance of travel for the route.
- Parameters:
distance
- The total distance of travel for the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
The expected duration of travel for the route.
Unit:
seconds
- Parameters:
duration
- The expected duration of travel for the route.Unit:
seconds
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Error code that occurred during calculation of the route.
- Parameters:
error
- Error code that occurred during calculation of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
Error code that occurred during calculation of the route.
- Parameters:
error
- Error code that occurred during calculation of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-