public static class RideUpdateParameters.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RideUpdateParameters |
build()
Builds a
RideUpdateParameters. |
RideUpdateParameters.Builder |
setDropoffAddress(java.lang.String address)
Sets the dropoff location's address.
|
RideUpdateParameters.Builder |
setDropoffCoordinates(java.lang.Float latitude,
java.lang.Float longitude)
Sets the dropoff location's coordinates.
|
RideUpdateParameters.Builder |
setDropoffNickname(java.lang.String nickname)
Sets the dropoff location's nickname.
|
RideUpdateParameters.Builder |
setDropoffPlace(Place.Places place)
Sets the dropoff location via place identifier.
|
RideUpdateParameters.Builder |
setDropoffPlaceId(java.lang.String placeId)
Sets the dropoff location via place identifier.
|
public RideUpdateParameters.Builder setDropoffCoordinates(@Nullable java.lang.Float latitude, @Nullable java.lang.Float longitude)
latitude - the dropoff location's latitude.longitude - the dropoff location's longitude.public RideUpdateParameters.Builder setDropoffNickname(@Nullable java.lang.String nickname)
nickname - the dropoff location's nickname.public RideUpdateParameters.Builder setDropoffAddress(@Nullable java.lang.String address)
address - the dropoff location's nickname.public RideUpdateParameters.Builder setDropoffPlaceId(@Nullable java.lang.String placeId)
placeId - the dropoff location's nickname.public RideUpdateParameters.Builder setDropoffPlace(@Nullable Place.Places place)
place - the dropoff location's nickname.public RideUpdateParameters build()
RideUpdateParameters.