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 of problem’s location
|
PoliticalLocation.Builder |
copy(PoliticalLocation model) |
PoliticalLocation.Builder |
country(String country)
Country of problem’s location
|
PoliticalLocation.Builder |
state(String state)
State or province of problem’s location
|
public PoliticalLocation.Builder city(String city)
City of problem’s location
city
- the value to setpublic PoliticalLocation.Builder state(String state)
State or province of problem’s location
state
- the value to setpublic PoliticalLocation.Builder country(String country)
Country of problem’s location
country
- the value to setpublic PoliticalLocation build()
public PoliticalLocation.Builder copy(PoliticalLocation model)
Copyright © 2016–2024. All rights reserved.