public static class GeodataDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GeodataDetails.Builder |
adminDiv(String adminDiv)
State/Province/subdivision within the country
|
GeodataDetails |
build() |
GeodataDetails.Builder |
city(String city)
City of origin
|
GeodataDetails.Builder |
copy(GeodataDetails model) |
GeodataDetails.Builder |
countryCode(String countryCode)
Two-letter abbreviation for country of origin
|
GeodataDetails.Builder |
geoId(String geoId)
Unique Identifier (optional)
|
GeodataDetails.Builder |
label(String label)
Information on source providing the information
|
GeodataDetails.Builder |
latitude(String latitude)
Latitude
|
GeodataDetails.Builder |
longitude(String longitude)
Longitude
|
GeodataDetails.Builder |
origin(String origin)
ASN entry
|
GeodataDetails.Builder |
routedPrefix(String routedPrefix)
Encompassing assigned prefix for the IP
|
public GeodataDetails.Builder routedPrefix(String routedPrefix)
Encompassing assigned prefix for the IP
routedPrefix
- the value to setpublic GeodataDetails.Builder origin(String origin)
ASN entry
origin
- the value to setpublic GeodataDetails.Builder geoId(String geoId)
Unique Identifier (optional)
geoId
- the value to setpublic GeodataDetails.Builder countryCode(String countryCode)
Two-letter abbreviation for country of origin
countryCode
- the value to setpublic GeodataDetails.Builder adminDiv(String adminDiv)
State/Province/subdivision within the country
adminDiv
- the value to setpublic GeodataDetails.Builder city(String city)
City of origin
city
- the value to setpublic GeodataDetails.Builder latitude(String latitude)
Latitude
latitude
- the value to setpublic GeodataDetails.Builder longitude(String longitude)
Longitude
longitude
- the value to setpublic GeodataDetails.Builder label(String label)
Information on source providing the information
label
- the value to setpublic GeodataDetails build()
public GeodataDetails.Builder copy(GeodataDetails model)
Copyright © 2016–2024. All rights reserved.