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
Builder for
LegacyDeviceSessionLogInfo.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected SessionLogInfoFields inherited from class com.dropbox.core.v2.teamlog.DeviceSessionLogInfo.Builder
created, ipAddress, updated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofLegacyDeviceSessionLogInfoconfigured with this builder's valueswithClientVersion(String clientVersion) Set value for optional field.withCreated(Date created) Set value for optional field.withDeviceType(String deviceType) Set value for optional field.withDisplayName(String displayName) Set value for optional field.withIpAddress(String ipAddress) Set value for optional field.withIsEmmManaged(Boolean isEmmManaged) Set value for optional field.withLegacyUniqId(String legacyUniqId) Set value for optional field.withMacAddress(String macAddress) Set value for optional field.withOsVersion(String osVersion) Set value for optional field.withPlatform(String platform) Set value for optional field.withSessionInfo(SessionLogInfo sessionInfo) Set value for optional field.withUpdated(Date updated) Set value for optional field.
-
Field Details
-
sessionInfo
-
displayName
-
isEmmManaged
-
platform
-
macAddress
-
osVersion
-
deviceType
-
clientVersion
-
legacyUniqId
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withSessionInfo
Set value for optional field.- Parameters:
sessionInfo- Session unique id.- Returns:
- this builder
-
withDisplayName
Set value for optional field.- Parameters:
displayName- The device name. Might be missing due to historical data gap.- Returns:
- this builder
-
withIsEmmManaged
Set value for optional field.- Parameters:
isEmmManaged- Is device managed by emm. Might be missing due to historical data gap.- Returns:
- this builder
-
withPlatform
Set value for optional field.- Parameters:
platform- Information on the hosting platform. Might be missing due to historical data gap.- Returns:
- this builder
-
withMacAddress
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
-
withOsVersion
Set value for optional field.- Parameters:
osVersion- The hosting OS version. Might be missing due to historical data gap.- Returns:
- this builder
-
withDeviceType
Set value for optional field.- Parameters:
deviceType- Information on the hosting device type. Might be missing due to historical data gap.- Returns:
- this builder
-
withClientVersion
Set value for optional field.- Parameters:
clientVersion- The Dropbox client version. Might be missing due to historical data gap.- Returns:
- this builder
-
withLegacyUniqId
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
-
withIpAddress
Set value for optional field.- Overrides:
withIpAddressin classDeviceSessionLogInfo.Builder- Parameters:
ipAddress- The IP address of the last activity from this session.- Returns:
- this builder
-
withCreated
Set value for optional field.- Overrides:
withCreatedin classDeviceSessionLogInfo.Builder- Parameters:
created- The time this session was created.- Returns:
- this builder
-
withUpdated
Set value for optional field.- Overrides:
withUpdatedin classDeviceSessionLogInfo.Builder- Parameters:
updated- The time of the last activity from this session.- Returns:
- this builder
-
build
Builds an instance ofLegacyDeviceSessionLogInfoconfigured with this builder's values- Overrides:
buildin classDeviceSessionLogInfo.Builder- Returns:
- new instance of
LegacyDeviceSessionLogInfo
-