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.ObjectBuilder forGeoLocationLogInfo.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(java.lang.String ipAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoLocationLogInfobuild()Builds an instance ofGeoLocationLogInfoconfigured with this builder's valuesGeoLocationLogInfo.BuilderwithCity(java.lang.String city)Set value for optional field.GeoLocationLogInfo.BuilderwithCountry(java.lang.String country)Set value for optional field.GeoLocationLogInfo.BuilderwithRegion(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 ofGeoLocationLogInfoconfigured with this builder's values- Returns:
- new instance of
GeoLocationLogInfo
-
-