Package com.dropbox.core.v2.teamlog
Class GeoLocationLogInfo.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.GeoLocationLogInfo.Builder
-
- Enclosing class:
- GeoLocationLogInfo
public static class GeoLocationLogInfo.Builder extends java.lang.Object
Builder forGeoLocationLogInfo
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(java.lang.String ipAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoLocationLogInfo
build()
Builds an instance ofGeoLocationLogInfo
configured with this builder's valuesGeoLocationLogInfo.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.
-
-
-
Method Detail
-
withCity
public GeoLocationLogInfo.Builder withCity(java.lang.String city)
Set value for optional field.- Parameters:
city
- City name.- Returns:
- this builder
-
withRegion
public GeoLocationLogInfo.Builder withRegion(java.lang.String region)
Set value for optional field.- Parameters:
region
- Region name.- Returns:
- this builder
-
withCountry
public GeoLocationLogInfo.Builder withCountry(java.lang.String country)
Set value for optional field.- Parameters:
country
- Country code.- Returns:
- this builder
-
build
public GeoLocationLogInfo build()
Builds an instance ofGeoLocationLogInfo
configured with this builder's values- Returns:
- new instance of
GeoLocationLogInfo
-
-