Package es.situm.sdk.model.directions
Class Indication.Builder
- java.lang.Object
-
- es.situm.sdk.model.directions.Indication.Builder
-
- Enclosing class:
- Indication
public static class Indication.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(Indication copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Indication
build()
Indication.Builder
setDistance(double distance)
Indication.Builder
setDistanceToNextLevel(int distanceToNextLevel)
Indication.Builder
setHumanReadableMessage(java.lang.String humanReadableMessage)
Indication.Builder
setInstructionType(Indication.Action instructionType)
Indication.Builder
setNextLevel(java.lang.Integer nextLevel)
Indication.Builder
setOrientation(double orientation)
Indication.Builder
setOrientationType(Indication.Orientation orientationType)
Indication.Builder
setStepIdxDestination(int stepIdxDestination)
Indication.Builder
setStepIdxOrigin(int stepIdxOrigin)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(Indication copy)
-
-
Method Detail
-
setStepIdxOrigin
@NonNull public Indication.Builder setStepIdxOrigin(int stepIdxOrigin)
-
setStepIdxDestination
@NonNull public Indication.Builder setStepIdxDestination(int stepIdxDestination)
-
setInstructionType
@NonNull public Indication.Builder setInstructionType(Indication.Action instructionType)
-
setOrientationType
@NonNull public Indication.Builder setOrientationType(Indication.Orientation orientationType)
-
setOrientation
@NonNull public Indication.Builder setOrientation(double orientation)
-
setDistance
@NonNull public Indication.Builder setDistance(double distance)
-
setDistanceToNextLevel
@NonNull public Indication.Builder setDistanceToNextLevel(int distanceToNextLevel)
-
setNextLevel
@NonNull public Indication.Builder setNextLevel(java.lang.Integer nextLevel)
-
setHumanReadableMessage
@NonNull public Indication.Builder setHumanReadableMessage(java.lang.String humanReadableMessage)
-
build
@NonNull public Indication build()
-
-