public abstract static class DirectionsRefreshResponse.Builder
extends java.lang.Object
DirectionsRefreshResponse.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract DirectionsRefreshResponse |
build()
Builds a new
DirectionsRefreshResponse object. |
abstract DirectionsRefreshResponse.Builder |
code(java.lang.String code)
String indicating the state of the response.
|
abstract DirectionsRefreshResponse.Builder |
message(java.lang.String message)
Optionally shows up in a response if an error or something unexpected occurred.
|
abstract DirectionsRefreshResponse.Builder |
route(DirectionsRouteRefresh directionsRouteRefresh)
Barebones
DirectionsRouteRefresh which only contains a list of
RouteLegRefreshs, which only contain lists of the
refreshed annotations. |
public abstract DirectionsRefreshResponse.Builder code(java.lang.String code)
DirectionsRefreshResponse.code().code - a string with one of the given values described in the list abovepublic abstract DirectionsRefreshResponse.Builder message(java.lang.String message)
message - a string containing the messagepublic abstract DirectionsRefreshResponse.Builder route(DirectionsRouteRefresh directionsRouteRefresh)
DirectionsRouteRefresh which only contains a list of
RouteLegRefreshs, which only contain lists of the
refreshed annotations.directionsRouteRefresh - route containing annotation datapublic abstract DirectionsRefreshResponse build()
DirectionsRefreshResponse object.DirectionsRefreshResponse object