Package es.situm.sdk.directions
Class DirectionsOptions.Builder
- java.lang.Object
-
- es.situm.sdk.directions.DirectionsOptions.Builder
-
- Enclosing class:
- DirectionsOptions
public static final class DirectionsOptions.Builder extends java.lang.Object
Helper class that creates well formedDirectionsOptions
instances.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectionsOptions.Builder
avoidModifier(DirectionsModifier avoidModifier)
ApplyDirectionsModifier
that will be avoided.DirectionsOptions
build()
Returns aDirectionsOptions
instance built from the parameters previously set.DirectionsOptions.Builder
prioritizeModifier(DirectionsModifier prioritizeModifier)
ApplyDirectionsModifier
that will be prioritized.
-
-
-
Method Detail
-
prioritizeModifier
public DirectionsOptions.Builder prioritizeModifier(DirectionsModifier prioritizeModifier)
ApplyDirectionsModifier
that will be prioritized.
-
avoidModifier
public DirectionsOptions.Builder avoidModifier(DirectionsModifier avoidModifier)
ApplyDirectionsModifier
that will be avoided.- Parameters:
avoidModifier
-- Returns:
-
build
public DirectionsOptions build()
Returns aDirectionsOptions
instance built from the parameters previously set.- Returns:
DirectionsOptions
instance built from the parameters previously set.
-
-