Package com.dropbox.core.v2.teamlog
Class DeviceSessionLogInfo.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.DeviceSessionLogInfo.Builder
 
- 
- Direct Known Subclasses:
- DesktopDeviceSessionLogInfo.Builder,- LegacyDeviceSessionLogInfo.Builder,- MobileDeviceSessionLogInfo.Builder,- WebDeviceSessionLogInfo.Builder
 - Enclosing class:
- DeviceSessionLogInfo
 
 public static class DeviceSessionLogInfo.Builder extends java.lang.ObjectBuilder forDeviceSessionLogInfo.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceSessionLogInfobuild()Builds an instance ofDeviceSessionLogInfoconfigured with this builder's valuesDeviceSessionLogInfo.BuilderwithCreated(java.util.Date created)Set value for optional field.DeviceSessionLogInfo.BuilderwithIpAddress(java.lang.String ipAddress)Set value for optional field.DeviceSessionLogInfo.BuilderwithUpdated(java.util.Date updated)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withIpAddresspublic DeviceSessionLogInfo.Builder withIpAddress(java.lang.String ipAddress) Set value for optional field.- Parameters:
- ipAddress- The IP address of the last activity from this session.
- Returns:
- this builder
 
 - 
withCreatedpublic DeviceSessionLogInfo.Builder withCreated(java.util.Date created) Set value for optional field.- Parameters:
- created- The time this session was created.
- Returns:
- this builder
 
 - 
withUpdatedpublic DeviceSessionLogInfo.Builder withUpdated(java.util.Date updated) Set value for optional field.- Parameters:
- updated- The time of the last activity from this session.
- Returns:
- this builder
 
 - 
buildpublic DeviceSessionLogInfo build() Builds an instance ofDeviceSessionLogInfoconfigured with this builder's values- Returns:
- new instance of DeviceSessionLogInfo
 
 
- 
 
-