Package com.dropbox.core.v2.teamlog
Class LegacyDeviceSessionLogInfo.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.DeviceSessionLogInfo.Builder
- 
- com.dropbox.core.v2.teamlog.LegacyDeviceSessionLogInfo.Builder
 
 
- 
- Enclosing class:
- LegacyDeviceSessionLogInfo
 
 public static class LegacyDeviceSessionLogInfo.Builder extends DeviceSessionLogInfo.Builder Builder forLegacyDeviceSessionLogInfo.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringclientVersionprotected java.lang.StringdeviceTypeprotected java.lang.StringdisplayNameprotected java.lang.BooleanisEmmManagedprotected java.lang.StringlegacyUniqIdprotected java.lang.StringmacAddressprotected java.lang.StringosVersionprotected java.lang.Stringplatformprotected SessionLogInfosessionInfo- 
Fields inherited from class com.dropbox.core.v2.teamlog.DeviceSessionLogInfo.Buildercreated, ipAddress, updated
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LegacyDeviceSessionLogInfobuild()Builds an instance ofLegacyDeviceSessionLogInfoconfigured with this builder's valuesLegacyDeviceSessionLogInfo.BuilderwithClientVersion(java.lang.String clientVersion)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithCreated(java.util.Date created)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithDeviceType(java.lang.String deviceType)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithDisplayName(java.lang.String displayName)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithIpAddress(java.lang.String ipAddress)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithIsEmmManaged(java.lang.Boolean isEmmManaged)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithLegacyUniqId(java.lang.String legacyUniqId)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithMacAddress(java.lang.String macAddress)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithOsVersion(java.lang.String osVersion)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithPlatform(java.lang.String platform)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithSessionInfo(SessionLogInfo sessionInfo)Set value for optional field.LegacyDeviceSessionLogInfo.BuilderwithUpdated(java.util.Date updated)Set value for optional field.
 
- 
- 
- 
Field Detail- 
sessionInfoprotected SessionLogInfo sessionInfo 
 - 
displayNameprotected java.lang.String displayName 
 - 
isEmmManagedprotected java.lang.Boolean isEmmManaged 
 - 
platformprotected java.lang.String platform 
 - 
macAddressprotected java.lang.String macAddress 
 - 
osVersionprotected java.lang.String osVersion 
 - 
deviceTypeprotected java.lang.String deviceType 
 - 
clientVersionprotected java.lang.String clientVersion 
 - 
legacyUniqIdprotected java.lang.String legacyUniqId 
 
- 
 - 
Method Detail- 
withSessionInfopublic LegacyDeviceSessionLogInfo.Builder withSessionInfo(SessionLogInfo sessionInfo) Set value for optional field.- Parameters:
- sessionInfo- Session unique id.
- Returns:
- this builder
 
 - 
withDisplayNamepublic LegacyDeviceSessionLogInfo.Builder withDisplayName(java.lang.String displayName) Set value for optional field.- Parameters:
- displayName- The device name. Might be missing due to historical data gap.
- Returns:
- this builder
 
 - 
withIsEmmManagedpublic LegacyDeviceSessionLogInfo.Builder withIsEmmManaged(java.lang.Boolean isEmmManaged) Set value for optional field.- Parameters:
- isEmmManaged- Is device managed by emm. Might be missing due to historical data gap.
- Returns:
- this builder
 
 - 
withPlatformpublic LegacyDeviceSessionLogInfo.Builder withPlatform(java.lang.String platform) Set value for optional field.- Parameters:
- platform- Information on the hosting platform. Might be missing due to historical data gap.
- Returns:
- this builder
 
 - 
withMacAddresspublic LegacyDeviceSessionLogInfo.Builder withMacAddress(java.lang.String macAddress) Set value for optional field.- Parameters:
- macAddress- The mac address of the last activity from this session. Might be missing due to historical data gap.
- Returns:
- this builder
 
 - 
withOsVersionpublic LegacyDeviceSessionLogInfo.Builder withOsVersion(java.lang.String osVersion) Set value for optional field.- Parameters:
- osVersion- The hosting OS version. Might be missing due to historical data gap.
- Returns:
- this builder
 
 - 
withDeviceTypepublic LegacyDeviceSessionLogInfo.Builder withDeviceType(java.lang.String deviceType) Set value for optional field.- Parameters:
- deviceType- Information on the hosting device type. Might be missing due to historical data gap.
- Returns:
- this builder
 
 - 
withClientVersionpublic LegacyDeviceSessionLogInfo.Builder withClientVersion(java.lang.String clientVersion) Set value for optional field.- Parameters:
- clientVersion- The Dropbox client version. Might be missing due to historical data gap.
- Returns:
- this builder
 
 - 
withLegacyUniqIdpublic LegacyDeviceSessionLogInfo.Builder withLegacyUniqId(java.lang.String legacyUniqId) Set value for optional field.- Parameters:
- legacyUniqId- Alternative unique device session id, instead of session id field. Might be missing due to historical data gap.
- Returns:
- this builder
 
 - 
withIpAddresspublic LegacyDeviceSessionLogInfo.Builder withIpAddress(java.lang.String ipAddress) Set value for optional field.- Overrides:
- withIpAddressin class- DeviceSessionLogInfo.Builder
- Parameters:
- ipAddress- The IP address of the last activity from this session.
- Returns:
- this builder
 
 - 
withCreatedpublic LegacyDeviceSessionLogInfo.Builder withCreated(java.util.Date created) Set value for optional field.- Overrides:
- withCreatedin class- DeviceSessionLogInfo.Builder
- Parameters:
- created- The time this session was created.
- Returns:
- this builder
 
 - 
withUpdatedpublic LegacyDeviceSessionLogInfo.Builder withUpdated(java.util.Date updated) Set value for optional field.- Overrides:
- withUpdatedin class- DeviceSessionLogInfo.Builder
- Parameters:
- updated- The time of the last activity from this session.
- Returns:
- this builder
 
 - 
buildpublic LegacyDeviceSessionLogInfo build() Builds an instance ofLegacyDeviceSessionLogInfoconfigured with this builder's values- Overrides:
- buildin class- DeviceSessionLogInfo.Builder
- Returns:
- new instance of LegacyDeviceSessionLogInfo
 
 
- 
 
-