Package es.situm.sdk.model.directions
Class RouteStep.Builder
- java.lang.Object
-
- es.situm.sdk.model.directions.RouteStep.Builder
-
- Enclosing class:
- RouteStep
public static final class RouteStep.Builder extends java.lang.Object
RouteStep
builder static inner class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteStep
build()
RouteStep.Builder
distance(double distance)
RouteStep.Builder
distanceToEnd(double distanceToEnd)
RouteStep.Builder
distanceToFloorChange(java.lang.Double distanceToFloorChange)
RouteStep.Builder
from(Point from)
RouteStep.Builder
id(int id)
RouteStep.Builder
isLast(boolean isLast)
RouteStep.Builder
to(Point to)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(@NonNull RouteStep copy)
-
-
Method Detail
-
id
@NonNull public RouteStep.Builder id(int id)
-
from
@NonNull public RouteStep.Builder from(@NonNull Point from)
-
to
@NonNull public RouteStep.Builder to(@NonNull Point to)
-
distance
@NonNull public RouteStep.Builder distance(double distance)
-
distanceToEnd
@NonNull public RouteStep.Builder distanceToEnd(double distanceToEnd)
-
distanceToFloorChange
@NonNull public RouteStep.Builder distanceToFloorChange(java.lang.Double distanceToFloorChange)
-
isLast
@NonNull public RouteStep.Builder isLast(boolean isLast)
-
build
@NonNull public RouteStep build()
-
-