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 SummaryConstructors Modifier Constructor Description protectedBuilder(java.lang.String ipAddress)
 - 
Method SummaryAll 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- 
withCitypublic GeoLocationLogInfo.Builder withCity(java.lang.String city) Set value for optional field.- Parameters:
- city- City name.
- Returns:
- this builder
 
 - 
withRegionpublic GeoLocationLogInfo.Builder withRegion(java.lang.String region) Set value for optional field.- Parameters:
- region- Region name.
- Returns:
- this builder
 
 - 
withCountrypublic GeoLocationLogInfo.Builder withCountry(java.lang.String country) Set value for optional field.- Parameters:
- country- Country code.
- Returns:
- this builder
 
 - 
buildpublic GeoLocationLogInfo build() Builds an instance ofGeoLocationLogInfoconfigured with this builder's values- Returns:
- new instance of GeoLocationLogInfo
 
 
- 
 
-