Package com.dropbox.core.v2.teamlog
Class DesktopDeviceSessionLogInfo.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.DeviceSessionLogInfo.Builder
- 
- com.dropbox.core.v2.teamlog.DesktopDeviceSessionLogInfo.Builder
 
 
- 
- Enclosing class:
- DesktopDeviceSessionLogInfo
 
 public static class DesktopDeviceSessionLogInfo.Builder extends DeviceSessionLogInfo.Builder Builder forDesktopDeviceSessionLogInfo.
- 
- 
Field SummaryFields Modifier and Type Field Description protected DesktopPlatformclientTypeprotected java.lang.StringclientVersionprotected java.lang.StringhostNameprotected booleanisDeleteOnUnlinkSupportedprotected java.lang.Stringplatformprotected DesktopSessionLogInfosessionInfo- 
Fields inherited from class com.dropbox.core.v2.teamlog.DeviceSessionLogInfo.Buildercreated, ipAddress, updated
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(java.lang.String hostName, DesktopPlatform clientType, java.lang.String platform, boolean isDeleteOnUnlinkSupported)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DesktopDeviceSessionLogInfobuild()Builds an instance ofDesktopDeviceSessionLogInfoconfigured with this builder's valuesDesktopDeviceSessionLogInfo.BuilderwithClientVersion(java.lang.String clientVersion)Set value for optional field.DesktopDeviceSessionLogInfo.BuilderwithCreated(java.util.Date created)Set value for optional field.DesktopDeviceSessionLogInfo.BuilderwithIpAddress(java.lang.String ipAddress)Set value for optional field.DesktopDeviceSessionLogInfo.BuilderwithSessionInfo(DesktopSessionLogInfo sessionInfo)Set value for optional field.DesktopDeviceSessionLogInfo.BuilderwithUpdated(java.util.Date updated)Set value for optional field.
 
- 
- 
- 
Field Detail- 
hostNameprotected final java.lang.String hostName 
 - 
clientTypeprotected final DesktopPlatform clientType 
 - 
platformprotected final java.lang.String platform 
 - 
isDeleteOnUnlinkSupportedprotected final boolean isDeleteOnUnlinkSupported 
 - 
sessionInfoprotected DesktopSessionLogInfo sessionInfo 
 - 
clientVersionprotected java.lang.String clientVersion 
 
- 
 - 
Constructor Detail- 
Builderprotected Builder(java.lang.String hostName, DesktopPlatform clientType, java.lang.String platform, boolean isDeleteOnUnlinkSupported)
 
- 
 - 
Method Detail- 
withSessionInfopublic DesktopDeviceSessionLogInfo.Builder withSessionInfo(DesktopSessionLogInfo sessionInfo) Set value for optional field.- Parameters:
- sessionInfo- Desktop session unique id.
- Returns:
- this builder
 
 - 
withClientVersionpublic DesktopDeviceSessionLogInfo.Builder withClientVersion(java.lang.String clientVersion) Set value for optional field.- Parameters:
- clientVersion- The Dropbox client version.
- Returns:
- this builder
 
 - 
withIpAddresspublic DesktopDeviceSessionLogInfo.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 DesktopDeviceSessionLogInfo.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 DesktopDeviceSessionLogInfo.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 DesktopDeviceSessionLogInfo build() Builds an instance ofDesktopDeviceSessionLogInfoconfigured with this builder's values- Overrides:
- buildin class- DeviceSessionLogInfo.Builder
- Returns:
- new instance of DesktopDeviceSessionLogInfo
 
 
- 
 
-