Package com.dropbox.core.v2.teamlog
Class GeoLocationLogInfo.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.GeoLocationLogInfo.Builder
- Enclosing class:
GeoLocationLogInfo
Builder for
GeoLocationLogInfo.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofGeoLocationLogInfoconfigured with this builder's valuesSet value for optional field.withCountry(String country) Set value for optional field.withRegion(String region) Set value for optional field.
-
Field Details
-
ipAddress
-
city
-
region
-
country
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withCity
Set value for optional field.- Parameters:
city- City name.- Returns:
- this builder
-
withRegion
Set value for optional field.- Parameters:
region- Region name.- Returns:
- this builder
-
withCountry
Set value for optional field.- Parameters:
country- Country code.- Returns:
- this builder
-
build
Builds an instance ofGeoLocationLogInfoconfigured with this builder's values- Returns:
- new instance of
GeoLocationLogInfo
-