Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract Address |
build()
Builds the address.
|
abstract Address.Builder |
setAddressLines(List<String> addressLines)
Sets the formatted address lines, as they would have been written on an envelope.
|
abstract Address.Builder |
setBuilding(String building)
Sets the building name (e.g.
|
abstract Address.Builder |
setCityName(String cityName)
Sets the city name.
|
abstract Address.Builder |
setCountryCode(String countryCode)
Sets the country code.
|
abstract Address.Builder |
setCountryName(String countryName)
Sets the country name.
|
abstract Address.Builder |
setCounty(String county)
Sets the county (second subdivision level below the country).
|
abstract Address.Builder |
setDistrictName(String districtName)
Sets the district name.
|
abstract Address.Builder |
setHouseNumber(String houseNumber)
Sets the house number.
|
abstract Address.Builder |
setPostalCode(String postalCode)
Sets the postal code.
|
abstract Address.Builder |
setStateName(String stateName)
Sets the state name.
|
abstract Address.Builder |
setStreetName(String streetName)
Sets the street name.
|
abstract Address.Builder |
setSubDistrict(String subDistrict)
Sets the sub-district (subdivision level below the district; e.g.
|
public abstract Address.Builder setCountryName(String countryName)
public abstract Address.Builder setCountryCode(String countryCode)
public abstract Address.Builder setStateName(String stateName)
public abstract Address.Builder setCityName(String cityName)
public abstract Address.Builder setDistrictName(String districtName)
public abstract Address.Builder setStreetName(String streetName)
public abstract Address.Builder setHouseNumber(String houseNumber)
public abstract Address.Builder setPostalCode(String postalCode)
public abstract Address.Builder setCounty(String county)
public abstract Address.Builder setSubDistrict(String subDistrict)
public abstract Address.Builder setBuilding(String building)
public abstract Address.Builder setAddressLines(List<String> addressLines)
public abstract Address build()