Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Region |
build() |
Region.Builder |
code(String code)
The code of the region.
|
Region.Builder |
copy(Region model) |
Region.Builder |
countries(List<Item> countries)
Countries in the region.
|
Region.Builder |
name(String name)
The name of the region.
|
public Region.Builder name(String name)
The name of the region.
name
- the value to setpublic Region.Builder code(String code)
The code of the region.
code
- the value to setpublic Region.Builder countries(List<Item> countries)
Countries in the region.
countries
- the value to setpublic Region build()
public Region.Builder copy(Region model)
Copyright © 2016–2024. All rights reserved.