public static class LegacyDeviceSessionLogInfo.Builder extends DeviceSessionLogInfo.Builder
LegacyDeviceSessionLogInfo
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
clientVersion |
protected java.lang.String |
deviceType |
protected java.lang.String |
displayName |
protected java.lang.Boolean |
isEmmManaged |
protected java.lang.String |
legacyUniqId |
protected java.lang.String |
macAddress |
protected java.lang.String |
osVersion |
protected java.lang.String |
platform |
protected SessionLogInfo |
sessionInfo |
created, ipAddress, updated
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
LegacyDeviceSessionLogInfo |
build()
Builds an instance of
LegacyDeviceSessionLogInfo configured
with this builder's values |
LegacyDeviceSessionLogInfo.Builder |
withClientVersion(java.lang.String clientVersion)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withCreated(java.util.Date created)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withDeviceType(java.lang.String deviceType)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withDisplayName(java.lang.String displayName)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withIpAddress(java.lang.String ipAddress)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withIsEmmManaged(java.lang.Boolean isEmmManaged)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withLegacyUniqId(java.lang.String legacyUniqId)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withMacAddress(java.lang.String macAddress)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withOsVersion(java.lang.String osVersion)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withPlatform(java.lang.String platform)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withSessionInfo(SessionLogInfo sessionInfo)
Set value for optional field.
|
LegacyDeviceSessionLogInfo.Builder |
withUpdated(java.util.Date updated)
Set value for optional field.
|
protected SessionLogInfo sessionInfo
protected java.lang.String displayName
protected java.lang.Boolean isEmmManaged
protected java.lang.String platform
protected java.lang.String macAddress
protected java.lang.String osVersion
protected java.lang.String deviceType
protected java.lang.String clientVersion
protected java.lang.String legacyUniqId
public LegacyDeviceSessionLogInfo.Builder withSessionInfo(SessionLogInfo sessionInfo)
sessionInfo
- Session unique id. Might be missing due to
historical data gap.public LegacyDeviceSessionLogInfo.Builder withDisplayName(java.lang.String displayName)
displayName
- The device name. Might be missing due to
historical data gap.public LegacyDeviceSessionLogInfo.Builder withIsEmmManaged(java.lang.Boolean isEmmManaged)
isEmmManaged
- Is device managed by emm. Might be missing due
to historical data gap.public LegacyDeviceSessionLogInfo.Builder withPlatform(java.lang.String platform)
platform
- Information on the hosting platform. Might be
missing due to historical data gap.public LegacyDeviceSessionLogInfo.Builder withMacAddress(java.lang.String macAddress)
macAddress
- The mac address of the last activity from this
session. Might be missing due to historical data gap.public LegacyDeviceSessionLogInfo.Builder withOsVersion(java.lang.String osVersion)
osVersion
- The hosting OS version. Might be missing due to
historical data gap.public LegacyDeviceSessionLogInfo.Builder withDeviceType(java.lang.String deviceType)
deviceType
- Information on the hosting device type. Might be
missing due to historical data gap.public LegacyDeviceSessionLogInfo.Builder withClientVersion(java.lang.String clientVersion)
clientVersion
- The Dropbox client version. Might be missing
due to historical data gap.public LegacyDeviceSessionLogInfo.Builder withLegacyUniqId(java.lang.String legacyUniqId)
legacyUniqId
- Alternative unique device session id, instead of
session id field. Might be missing due to historical data gap.public LegacyDeviceSessionLogInfo.Builder withIpAddress(java.lang.String ipAddress)
withIpAddress
in class DeviceSessionLogInfo.Builder
ipAddress
- The IP address of the last activity from this
session. Might be missing due to historical data gap.public LegacyDeviceSessionLogInfo.Builder withCreated(java.util.Date created)
withCreated
in class DeviceSessionLogInfo.Builder
created
- The time this session was created. Might be missing
due to historical data gap.public LegacyDeviceSessionLogInfo.Builder withUpdated(java.util.Date updated)
withUpdated
in class DeviceSessionLogInfo.Builder
updated
- The time of the last activity from this session.
Might be missing due to historical data gap.public LegacyDeviceSessionLogInfo build()
LegacyDeviceSessionLogInfo
configured
with this builder's valuesbuild
in class DeviceSessionLogInfo.Builder
LegacyDeviceSessionLogInfo