public static class GeoLocationLogInfo.Builder
extends java.lang.Object
GeoLocationLogInfo
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
city |
protected java.lang.String |
country |
protected java.lang.String |
ipAddress |
protected java.lang.String |
region |
Modifier | Constructor and Description |
---|---|
protected |
Builder(java.lang.String ipAddress) |
Modifier and Type | Method and Description |
---|---|
GeoLocationLogInfo |
build()
Builds an instance of
GeoLocationLogInfo configured with this
builder's values |
GeoLocationLogInfo.Builder |
withCity(java.lang.String city)
Set value for optional field.
|
GeoLocationLogInfo.Builder |
withCountry(java.lang.String country)
Set value for optional field.
|
GeoLocationLogInfo.Builder |
withRegion(java.lang.String region)
Set value for optional field.
|
protected final java.lang.String ipAddress
protected java.lang.String city
protected java.lang.String region
protected java.lang.String country
public GeoLocationLogInfo.Builder withCity(java.lang.String city)
city
- City name.public GeoLocationLogInfo.Builder withRegion(java.lang.String region)
region
- Region name.public GeoLocationLogInfo.Builder withCountry(java.lang.String country)
country
- Country code.public GeoLocationLogInfo build()
GeoLocationLogInfo
configured with this
builder's valuesGeoLocationLogInfo