Interface RouteMatrixEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteMatrixEntry.Builder,RouteMatrixEntry>,SdkBuilder<RouteMatrixEntry.Builder,RouteMatrixEntry>,SdkPojo
- Enclosing class:
- RouteMatrixEntry
public static interface RouteMatrixEntry.Builder extends SdkPojo, CopyableBuilder<RouteMatrixEntry.Builder,RouteMatrixEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteMatrixEntry.Builderdistance(Long distance)The total distance of travel for the route.RouteMatrixEntry.Builderduration(Long duration)The expected duration of travel for the route.RouteMatrixEntry.Buildererror(String error)Error code that occurred during calculation of the route.RouteMatrixEntry.Buildererror(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 Detail
-
distance
RouteMatrixEntry.Builder distance(Long 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
RouteMatrixEntry.Builder duration(Long 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
RouteMatrixEntry.Builder error(String 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:
RouteMatrixErrorCode,RouteMatrixErrorCode
-
error
RouteMatrixEntry.Builder error(RouteMatrixErrorCode 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:
RouteMatrixErrorCode,RouteMatrixErrorCode
-
-