Interface Step.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Step.Builder,,Step> SdkBuilder<Step.Builder,,Step> SdkPojo
- Enclosing class:
Step
-
Method Summary
Modifier and TypeMethodDescriptionThe travel distance between the step'sStartPositionandEndPosition.durationSeconds(Double durationSeconds) The estimated travel time, in seconds, from the step'sStartPositionto theEndPosition.endPosition(Double... endPosition) The end position of a step.endPosition(Collection<Double> endPosition) The end position of a step.geometryOffset(Integer geometryOffset) Represents the start position, or index, in a sequence of steps within the leg's line string geometry.startPosition(Double... startPosition) The starting position of a step.startPosition(Collection<Double> startPosition) The starting position of a step.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distance
The travel distance between the step's
StartPositionandEndPosition.- Parameters:
distance- The travel distance between the step'sStartPositionandEndPosition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationSeconds
The estimated travel time, in seconds, from the step's
StartPositionto theEndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.- Parameters:
durationSeconds- The estimated travel time, in seconds, from the step'sStartPositionto theEndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
IncludeLegGeometrytoTrue.- Parameters:
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 is0.Included in the response for queries that set
IncludeLegGeometrytoTrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-