Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract Waypoint |
build()
Builds the
Waypoint object |
abstract Waypoint.Builder |
setAddress(Address newAddress)
Set the address of the waypoint
|
abstract Waypoint.Builder |
setDescription(String newDescription)
Set the description of the waypoint
|
public abstract Waypoint.Builder setAddress(Address newAddress)
newAddress
- AddressWaypoint.Builder
objectpublic abstract Waypoint.Builder setDescription(String newDescription)
newDescription
- free-text description of the waypointWaypoint.Builder
objectpublic abstract Waypoint build()
Waypoint
object