public static class MobileDeviceSessionLogInfo.Builder extends DeviceSessionLogInfo.Builder
MobileDeviceSessionLogInfo
.Modifier and Type | Field and Description |
---|---|
protected MobileClientPlatform |
clientType |
protected java.lang.String |
clientVersion |
protected java.lang.String |
deviceName |
protected java.lang.String |
lastCarrier |
protected java.lang.String |
osVersion |
protected MobileSessionLogInfo |
sessionInfo |
created, ipAddress, updated
Modifier | Constructor and Description |
---|---|
protected |
Builder(java.lang.String deviceName,
MobileClientPlatform clientType) |
Modifier and Type | Method and Description |
---|---|
MobileDeviceSessionLogInfo |
build()
Builds an instance of
MobileDeviceSessionLogInfo configured
with this builder's values |
MobileDeviceSessionLogInfo.Builder |
withClientVersion(java.lang.String clientVersion)
Set value for optional field.
|
MobileDeviceSessionLogInfo.Builder |
withCreated(java.util.Date created)
Set value for optional field.
|
MobileDeviceSessionLogInfo.Builder |
withIpAddress(java.lang.String ipAddress)
Set value for optional field.
|
MobileDeviceSessionLogInfo.Builder |
withLastCarrier(java.lang.String lastCarrier)
Set value for optional field.
|
MobileDeviceSessionLogInfo.Builder |
withOsVersion(java.lang.String osVersion)
Set value for optional field.
|
MobileDeviceSessionLogInfo.Builder |
withSessionInfo(MobileSessionLogInfo sessionInfo)
Set value for optional field.
|
MobileDeviceSessionLogInfo.Builder |
withUpdated(java.util.Date updated)
Set value for optional field.
|
protected final java.lang.String deviceName
protected final MobileClientPlatform clientType
protected MobileSessionLogInfo sessionInfo
protected java.lang.String clientVersion
protected java.lang.String osVersion
protected java.lang.String lastCarrier
protected Builder(java.lang.String deviceName, MobileClientPlatform clientType)
public MobileDeviceSessionLogInfo.Builder withSessionInfo(MobileSessionLogInfo sessionInfo)
sessionInfo
- Mobile session unique id. Might be missing due to
historical data gap.public MobileDeviceSessionLogInfo.Builder withClientVersion(java.lang.String clientVersion)
clientVersion
- The Dropbox client version.public MobileDeviceSessionLogInfo.Builder withOsVersion(java.lang.String osVersion)
osVersion
- The hosting OS version.public MobileDeviceSessionLogInfo.Builder withLastCarrier(java.lang.String lastCarrier)
lastCarrier
- last carrier used by the device.public MobileDeviceSessionLogInfo.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 MobileDeviceSessionLogInfo.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 MobileDeviceSessionLogInfo.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 MobileDeviceSessionLogInfo build()
MobileDeviceSessionLogInfo
configured
with this builder's valuesbuild
in class DeviceSessionLogInfo.Builder
MobileDeviceSessionLogInfo