public static class PoliticalLocation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PoliticalLocation |
build() |
PoliticalLocation.Builder |
city(String city)
City
|
PoliticalLocation.Builder |
copy(PoliticalLocation model) |
PoliticalLocation.Builder |
country(String country)
Country
|
PoliticalLocation.Builder |
state(String state)
State
|
public PoliticalLocation.Builder city(String city)
City
city
- the value to setpublic PoliticalLocation.Builder state(String state)
State
state
- the value to setpublic PoliticalLocation.Builder country(String country)
Country
country
- the value to setpublic PoliticalLocation build()
public PoliticalLocation.Builder copy(PoliticalLocation model)
Copyright © 2016–2024. All rights reserved.