public static interface Step.Builder extends SdkPojo, CopyableBuilder<Step.Builder,Step>
| Modifier and Type | Method and Description |
|---|---|
Step.Builder |
distance(Double distance)
The travel distance between the step's
StartPosition and EndPosition. |
Step.Builder |
durationSeconds(Double durationSeconds)
The estimated travel time, in seconds, from the step's
StartPosition to the
EndPosition. |
Step.Builder |
endPosition(Collection<Double> endPosition)
The end position of a step.
|
Step.Builder |
endPosition(Double... endPosition)
The end position of a step.
|
Step.Builder |
geometryOffset(Integer geometryOffset)
Represents the start position, or index, in a sequence of steps within the leg's line string geometry.
|
Step.Builder |
startPosition(Collection<Double> startPosition)
The starting position of a step.
|
Step.Builder |
startPosition(Double... startPosition)
The starting position of a step.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStep.Builder distance(Double distance)
The travel distance between the step's StartPosition and EndPosition.
distance - The travel distance between the step's StartPosition and EndPosition.Step.Builder durationSeconds(Double durationSeconds)
The estimated travel time, in seconds, from the step's StartPosition to the
EndPosition. . The travel mode and departure time that you specify in the request determines the
calculated time.
durationSeconds - The estimated travel time, in seconds, from the step's StartPosition to the
EndPosition. . The travel mode and departure time that you specify in the request
determines the calculated time.Step.Builder endPosition(Collection<Double> endPosition)
The end position of a step. If the position the last step in the leg, this position is the same as the end position of the leg.
endPosition - The end position of a step. If the position the last step in the leg, this position is the same as the
end position of the leg.Step.Builder endPosition(Double... endPosition)
The end position of a step. If the position the last step in the leg, this position is the same as the end position of the leg.
endPosition - The end position of a step. If the position the last step in the leg, this position is the same as the
end position of the leg.Step.Builder geometryOffset(Integer geometryOffset)
Represents the start position, or index, in a sequence of steps within the leg's line string geometry. For
example, the index of the first step in a leg geometry is 0.
Included in the response for queries that set IncludeLegGeometry to True.
geometryOffset - Represents the start position, or index, in a sequence of steps within the leg's line string geometry.
For example, the index of the first step in a leg geometry is 0.
Included in the response for queries that set IncludeLegGeometry to True.
Step.Builder startPosition(Collection<Double> startPosition)
The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.
startPosition - The starting position of a step. If the position is the first step in the leg, this position is the
same as the start position of the leg.Step.Builder startPosition(Double... startPosition)
The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.
startPosition - The starting position of a step. If the position is the first step in the leg, this position is the
same as the start position of the leg.Copyright © 2021. All rights reserved.