Interface RouteFerryTravelStep.Builder

  • Method Details

    • distance

      RouteFerryTravelStep.Builder distance(Long distance)

      Distance of the step.

      Parameters:
      distance - Distance of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      RouteFerryTravelStep.Builder duration(Long duration)

      Duration of the step.

      Unit: seconds

      Parameters:
      duration - Duration of the step.

      Unit: seconds

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometryOffset

      RouteFerryTravelStep.Builder geometryOffset(Integer geometryOffset)

      Offset in the leg geometry corresponding to the start of this step.

      Parameters:
      geometryOffset - Offset in the leg geometry corresponding to the start of this step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instruction

      RouteFerryTravelStep.Builder instruction(String instruction)

      Brief description of the step in the requested language.

      Only available when the TravelStepType is Default.

      Parameters:
      instruction - Brief description of the step in the requested language.

      Only available when the TravelStepType is Default.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Type of the step.

      Parameters:
      type - Type of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Type of the step.

      Parameters:
      type - Type of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: