public static class DesktopDeviceSessionLogInfo.Builder extends DeviceSessionLogInfo.Builder
DesktopDeviceSessionLogInfo
.Modifier and Type | Field and Description |
---|---|
protected DesktopPlatform |
clientType |
protected java.lang.String |
clientVersion |
protected java.lang.String |
hostName |
protected boolean |
isDeleteOnUnlinkSupported |
protected java.lang.String |
platform |
protected DesktopSessionLogInfo |
sessionInfo |
created, ipAddress, updated
Modifier | Constructor and Description |
---|---|
protected |
Builder(java.lang.String hostName,
DesktopPlatform clientType,
java.lang.String platform,
boolean isDeleteOnUnlinkSupported) |
Modifier and Type | Method and Description |
---|---|
DesktopDeviceSessionLogInfo |
build()
Builds an instance of
DesktopDeviceSessionLogInfo configured
with this builder's values |
DesktopDeviceSessionLogInfo.Builder |
withClientVersion(java.lang.String clientVersion)
Set value for optional field.
|
DesktopDeviceSessionLogInfo.Builder |
withCreated(java.util.Date created)
Set value for optional field.
|
DesktopDeviceSessionLogInfo.Builder |
withIpAddress(java.lang.String ipAddress)
Set value for optional field.
|
DesktopDeviceSessionLogInfo.Builder |
withSessionInfo(DesktopSessionLogInfo sessionInfo)
Set value for optional field.
|
DesktopDeviceSessionLogInfo.Builder |
withUpdated(java.util.Date updated)
Set value for optional field.
|
protected final java.lang.String hostName
protected final DesktopPlatform clientType
protected final java.lang.String platform
protected final boolean isDeleteOnUnlinkSupported
protected DesktopSessionLogInfo sessionInfo
protected java.lang.String clientVersion
protected Builder(java.lang.String hostName, DesktopPlatform clientType, java.lang.String platform, boolean isDeleteOnUnlinkSupported)
public DesktopDeviceSessionLogInfo.Builder withSessionInfo(DesktopSessionLogInfo sessionInfo)
sessionInfo
- Desktop session unique id. Might be missing due
to historical data gap.public DesktopDeviceSessionLogInfo.Builder withClientVersion(java.lang.String clientVersion)
clientVersion
- The Dropbox client version.public DesktopDeviceSessionLogInfo.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 DesktopDeviceSessionLogInfo.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 DesktopDeviceSessionLogInfo.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 DesktopDeviceSessionLogInfo build()
DesktopDeviceSessionLogInfo
configured
with this builder's valuesbuild
in class DeviceSessionLogInfo.Builder
DesktopDeviceSessionLogInfo