Package es.situm.sdk.directions
Class DirectionsModifier.Builder
- java.lang.Object
-
- es.situm.sdk.directions.DirectionsModifier.Builder
-
- Enclosing class:
- DirectionsModifier
public static final class DirectionsModifier.Builder extends java.lang.Object
Helper class to create well formed instances of DirectionsModifier class.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectionsModifier.Builder
action(DirectionsModifier.Actions action)
Set the action to perform.DirectionsModifier
build()
Returns a new instance ofDirectionsModifier
DirectionsModifier.Builder
tags(java.util.List<TagModifier> tags)
Set the elements to process
-
-
-
Method Detail
-
action
public DirectionsModifier.Builder action(DirectionsModifier.Actions action)
Set the action to perform. One of theDirectionsModifier.Actions
value.
-
tags
public DirectionsModifier.Builder tags(java.util.List<TagModifier> tags)
Set the elements to process
-
build
public DirectionsModifier build()
Returns a new instance ofDirectionsModifier
- Returns:
- a
DirectionsModifier
instance
-
-