public abstract static class MapMatchingError.Builder
extends java.lang.Object
MapMatchingError.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract MapMatchingError |
build()
Build a new
MapMatchingError object. |
abstract MapMatchingError.Builder |
code(java.lang.String code)
String indicating the state of the response.
|
abstract MapMatchingError.Builder |
message(java.lang.String message)
Provides a short message with the explanation of the invalid input.
|
public abstract MapMatchingError.Builder code(java.lang.String code)
code - a string with one of the given values described in the list abovepublic abstract MapMatchingError.Builder message(java.lang.String message)
message - a string containing the message API Directions responsepublic abstract MapMatchingError build()
MapMatchingError object.MapMatchingError using the provided values in this builder