Package com.vonage.client.conversations
Class Location.Builder
java.lang.Object
com.vonage.client.conversations.Location.Builder
- Enclosing class:
Location
Builder for setting Location parameters.
-
Method Details
-
longitude
Longitude of the location.- Parameters:
longitude- The longitude as a double.- Returns:
- This builder.
-
latitude
Latitude of the location.- Parameters:
latitude- The latitude as a double.- Returns:
- This builder.
-
name
Name of the location.- Parameters:
name- The name.- Returns:
- This builder.
-
address
Full address.- Parameters:
address- The address as a string.- Returns:
- This builder.
-
build
Builds the Location.- Returns:
- A new Location instance, populated with all fields from this builder.
-